Re: UTF8 trouble in X11 / xterm
Re: UTF8 trouble in X11 / xterm
- Subject: Re: UTF8 trouble in X11 / xterm
- From: "Adam D. I. Kramer" <email@hidden>
- Date: Tue, 8 Dec 2009 14:37:14 -0800 (PST)
...following up on my own message from July, I solved the problem this
afternoon.
Applications --> Customize, and then set the command for Terminal to be
LANG=en_US.UTF-8 xterm
...instead of just xterm. UTF8 now works just fine.
Not sure why the below system didn't do it and this did, but in case anybody
else is trolling the mailing list archives and wishing someone had responded
to my problem, here it is. :)
--Adam
Hi,
Following up like a year later on
http://lists.apple.com/archives/X11-users/2008/Mar/msg00202.html
The issue is basically when I ssh from my mac into a linux box,
where I run screen: utf-8 runs fine from terminal, but not-fine from xterm
in x11.
If I ssh from OSX using terminal into the linux box and re-attach to
screen, utf8 works fine (e.g., I can see Chinese characters and the like).
If I ssh from OSX using X11 into the linux box (raw, not running
screen), utf8 works fine also.
But if I ssh from X11 and then re-attach to screen, utf8 fails.
Any idea why this would happen?
I have set LANG to be en_US.UTF-8 in .profile and .bashrc, it is propogating
to the locale setting
akramer:~$ locale
LANG="en_US.UTF-8"
...
...and, as mentioned, it works right in Terminal AND it works right in
X11/xterm before I reattach screen, but it's screen in X11 that is failing.
(Running screen -U does not change any of the behavior, whether I pass -U
when reattaching or when creating a whole new screen with -U.)
Any further ideas?
--Adam
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden