Re: [dev] [dmenu] What's the expected behavior on invalid utf8?

2024-07-04 Thread Hiltjo Posthuma
Hi NRK, On Thu, Jul 04, 2024 at 03:04:42AM +, NRK wrote: > Hello all, > > A couple days ago I was looking into how dmenu deals with invalid utf8 > sequences and noticed a couple odd things. Here's the testcase for those > who want to follow along: > > $ printf "0\xef1234567\ntest" | dm

Re: [dev] [dmenu] What's the expected behavior on invalid utf8?

2024-07-04 Thread Страхиња Радић
Дана 24/07/04 11:32AM, GMD Ephir написа: > I'm pretty sure that this is how it should be done, so I recommend > you to send this patch to "hackers" mailing list. I second this, there certainly is no harm in sending the patch to hackers@.

Re: [dev] [dmenu] What's the expected behavior on invalid utf8?

2024-07-04 Thread GMD Ephir
On Thu, Jul 04, 2024 at 03:04:42AM +, NRK wrote: > Hello all, > > A couple days ago I was looking into how dmenu deals with invalid utf8 > sequences and noticed a couple odd things. Here's the testcase for those > who want to follow along: > > $ printf "0\xef1234567\ntest" | dmenu >