Re: [hackers] [st][PATCH v2] st: fix C1 bytes (0x80-0x9F) shown as garbage in UTF-8 mode
> check the behaviour before and after the patch:
> $ printf "\xef\xea\xek\xee"
Xterm also shows the diamond question mark (U+FFFD).
> Turns out those bytes are not valid UTF-8 so st was showing U+FFFD
> instead of ignoring them.
What's the justification for ignoring it? Showing U+FFFD for invalid
utf8 is pretty standard behaviour.
- NRK
Received on Mon Mar 16 2026 - 20:33:31 CET
This archive was generated by hypermail 2.3.0
: Mon Mar 16 2026 - 20:36:37 CET