Bug#254316: xterm: CJK font fails after running slang/ncurses program
Tags: sid l10n
The latest xterm seems to be able to display CJK characters. However,
I found that after running a slang / ncurses application, the characters
become garbled again.
I've tested this with traditional Chinese and Japanese fonts but I have no
reason to believe that Korean and Simplified Chinese won't be broken too.
To reproduce simply start xterm and if your directory has a file with a CJK
name you should be able to see the file displayed in the appropriate font.
Next start something like mutt (which uses ncurses) or whiptail, and then
exit. Then if you do the ls the text will become garbled for CJK.
BTW, since mutt has a Chinese translation ... when I enter mutt I found that
the Chinese translation is garbled too. So it seems to happen not at
program exit (which would be improper cleanup) but during invocation of
a slang / ncurses application.
This does not happen with rxvt-ml whether the terminal type is set to
rxvt or xterm which leads me to believe it is a bug in xterm.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-rc2
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (ignored: LC_ALL set to zh_TW.Big5)
Versions of packages xterm depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libexpat1 1.95.6-8 XML parsing C library - runtime li
ii libfontconfig1 2.2.2-2 generic font configuration library
ii libfreetype6 2.1.7-2.1 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-4 Inter-Client Exchange library
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libsm6 4.3.0.dfsg.1-4 X Window System Session Management
ii libxaw7 4.3.0.dfsg.1-4 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxmu6 4.3.0.dfsg.1-4 X Window System miscellaneous util
ii libxpm4 4.3.0.dfsg.1-4 X pixmap library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxt6 4.3.0.dfsg.1-4 X Toolkit Intrinsics
ii xlibs 4.3.0.dfsg.1-4 X Window System client libraries m
ii xlibs-data 4.3.0.dfsg.1-4 X Window System client data
-- no debconf information