man page unrecognized characters

D. Hugh Redelmeier hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Thu Dec 22 15:55:53 UTC 2005


| From: J. Qiang Li <shijialee-/E1597aS9LQAvxtiuMwx3w at public.gmane.org>
| Reply-To: tlug-lxSQFCZeNF4 at public.gmane.org
| To: tlug-lxSQFCZeNF4 at public.gmane.org
| Subject: [TLUG]: man page unrecognized characters
| 
| hi, i am using aterm and getting unrecognized character in man page. 
| however it is fine with xterm.  below is part of `man ls`.

"man" pays attention to the LC_CTYPE environment variable.  It will
use non-ASCII characters if the variable says that they are available.

I don't know what limitations xterm has with respect to character set.
I know that in my setup, utf-8 stuff is not properly displayed on
xterm.  But xterm does know something about characters beyond
iso-8859.  It has some support for CJK (Chinese/Japanese/Korean
characters).  The -en, -lc, -u8, and -wc flags might be relevant.  See
xterm(1)'s description of "locale" resource, part of the vt100 widget
("resource" is an arcane but important X concept).

| my current locale is :

| LANG=
| LC_CTYPE=zh_CN.UTF-8

| ======== and in another system i have the same problem with locale

| LANG=en_US.UTF-8
| LC_CTYPE=zh_CN.utf8

| i need to keep LC_CTYPE=zh_CN.utf8 in order to use chinese in my application. could that be the
| problem ? how do i fix it ?

I think that at most one of the following can be correct:
| LC_CTYPE=zh_CN.UTF-8
| LC_CTYPE=zh_CN.utf8
The second is probably wrong.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list