Re: [hackers] [st][PATCH v2] st: fix C1 bytes (0x80-0x9F) shown as garbage in UTF-8 mode
> Also are there particular applications where you noticed this?
I saw this. I was running some old scripts and st was printing garbage
characters (the diamond question mark) whenever a C1 byte came through.
Turns out those bytes are not valid UTF-8 so st was showing U+FFFD
instead of ignoring them.
check the behaviour before and after the patch:
$ printf "\xef\xea\xek\xee"
> I hope this doesn't break anything...
Should not break anything.
Received on Mon Mar 16 2026 - 18:13:57 CET
This archive was generated by hypermail 2.3.0
: Mon Mar 16 2026 - 20:00:56 CET