On Tue, Apr 10, 2007 at 01:49:32AM +0800, Rong-en Fan wrote: ... > You mean it display sometihng like "tqxu" instead of line drawing > characters? > Last time I checked, I thought it is terminal related. When I use screen, it > uses line drawing character. For PuTTY, see:
PuTTY implemented UTF-8 much later than screen and Linux console. Those (the last two) tend to have $TERM set properly (at least half the time). I could let ncurses guess what to do based on $TERM and locale. For PuTTY, most users have it incorrectly set to "xterm"(*). There are no clues - so I added the environment variable to help. (*) It's incorrect because in several areas it does not match xterm. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpZMNr5k30YW.pgp
Description: PGP signature