Discussion:
[ast-developers] Interactive testing in the zh_CN.GB18030 locale... / was: Re: Crash/hang in "heredoc.sh" test ... / was: Re: ast alpha software download update
Roland Mainz
2013-12-10 16:15:31 UTC
Permalink
On Tue, Dec 10, 2013 at 4:56 PM, Glenn Fowler <glenn.s.fowler at gmail.com> wrote:
[CC:'ing Werner Fink and Michal Hlavinka for feedback&&help...]
on suse for LC_ALL=zh_CN.GB18030 LANG=zh_CN.GB18030
how do you set a tty x window to display locale-appropriate characters?
Good question... I usually log-in via the graphical login using the
GB18030 locale to get a desktop which uses the GB18030 locale and then
ssh from there into the Linux box to get the same locale there...

AFAIK options are:
- Use $ LC_ALL=zh_CN.GB18030 konsole # to run he KDE konsole terminal
emulator in the GB18030 locale
- luit(1) (but I didn't use it for many many years)

Maybe Werner and/or Michal know better ways...

----

Bye,
Roland

P.S.: The original issue with the "heredoc.sh" test is not limited to
the "zh_CN.GB18030" locale... it also happens in the "C" locale...
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Michal Hlavinka
2013-12-11 07:45:46 UTC
Permalink
Post by Roland Mainz
[CC:'ing Werner Fink and Michal Hlavinka for feedback&&help...]
on suse for LC_ALL=zh_CN.GB18030 LANG=zh_CN.GB18030
how do you set a tty x window to display locale-appropriate characters?
Good question... I usually log-in via the graphical login using the
GB18030 locale to get a desktop which uses the GB18030 locale and then
ssh from there into the Linux box to get the same locale there...
- Use $ LC_ALL=zh_CN.GB18030 konsole # to run he KDE konsole terminal
emulator in the GB18030 locale
Maybe Werner and/or Michal know better ways...
Sorry, no new ideas from me. I use konsole. Always worked for me

Michal

Loading...