xterm-237-2 still has no UTF-8 support

neomjp neomjp@yahoo.co.jp
Tue Dec 9 12:32:00 GMT 2008


On 4:59, Yongwei Wu wrote:
> The recent xterm-237-2 still does not have the Unicode
support

It does.

But according to xterm-237-2.cygport, it is configured
with "--enable-luit --enable-wide-chars". man xterm(1)
says in the description of "-u8",

"This option and the utf8 resource are overridden by the 
‐lc and ‐en  options  and  locale resource.  That is, if
xterm has been compiled to support  luit,  and  the 
locale  resource  is  not
‘‘false’’ this  option is ignored."

So, "-u8" will be ignored without proper options. Try
either:
1. xterm +lc -u8
2. xterm -en UTF-8
3. or use cygwin-1.7 with proper locale settings.

Start bash and say,

perl -we 'binmode(STDOUT, ":utf8"); print(pack("U*",
12371, 12435, 12395, 12385, 12399, 32, 50504, 45397,
54616, 49464, 50836, 63, 32, 20320, 22909));'

This should print "hello" in Japanese, Korean, and
Chinese.

--
neomjp

--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list