[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: UTF-8 locale, strange chars in X terminal pager(s), specifically man pages



On 2004-09-30 08:54:01 -0500, Frederick B. Henry Jr. wrote:
> Another solution which someone was kind enough to send me was to set
> LC_ALL to "C" before every invocation of "man", which works, but
> seems kludgy.

This just deactivates non-ASCII characters, which should be replaced
by ASCII characters.

> I suppose if man is ultimately incapable of handling a utf-8 locale
> then that may have to be the solution (?). (BTW, in my locale output
> the only var unset is LC_ALL -- all the others are set to
> en_US.UTF-8)

It may be a problem with your terminal. I've attached a small file
containing characters in UTF-8. Could you save it and cat it in your
terminal to see if there are problems?

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
20  !"#$%&'()*+,-./0123456789:;<=>?
40 @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
60 `abcdefghijklmnopqrstuvwxyz{|}~
A0  ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿
C0 ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞß
E0 àáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ

Reply to: