Hi, On 04/08/2014 06:44, Michael Reed wrote:
Stty shows that iutf8 is enabled for me. I saw earlier in the thread you verified your LC_ALL as being UTF-8, perhaps that or LANG is configured on your filesystem but is not propogating to st due to some shell configuration issue?
I'm not sure that it's supposed to propagate automatically to st: “man stty” does not mention the locale, and urxvt uses termios(3) to set iutf8 directly from the source code. xterm has several related options (-lc to adapt the encoding to the locale used, -u8 to force UTF-8, and others). I glanced through the source code for lxterminal but I did not find anything.
st does not use termios(3), and does not seem to do anything special depending on the locale encoding. I'm certainly missing something, because I don't understand how you can have iutf8 enabled in st by default!
On 04/08/2014 11:11, Roberto E. Vargas Caballero wrote:
And now, I can see in stty(1) that there is no iutf8 in OpenBSD.
Yes, I saw after I had sent my message that iutf8 is not POSIX. Does the erase character work correctly with multi-byte characters in cat or ed on your OpenBSD machine?
-- A.N.