Re: Setting Display to UTF-8

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

 



Lee,

Thanks for the info. All my LC_ variables are set to EN-Us.UTF8. Perhaps I 
should have been more specific. Pine says it is set to ISO-5, etc. Why 
doesn't it follow the system setting? How can it be changed?

Thanks,
John
 On Wed, 12 
Mar 2003, Lee Maschmeyer wrote:

> This is in response to John Boyer's question about how to set the display 
> to UTF-8. I just discovered this yesterday and learned more while writing 
> this message. I'm writing now to expose any misconceptions that (probably) 
> still remain:
> 
> It's probably already set that way, assuming the time zone was set during 
> installation. The locale program shows all the locale-related environment 
> variables. All of mine are set to en_US.UTF-8.
> 
> It appears that they all get changed, or at least masked, if I assign a 
> value to LC_ALL. For example, 
> 
> LC_ALL="C" 
> 
> gives me the C locale and 
> 
> LC_ALL="POSIX" 
> 
> gives me the POSIX locale. Note that I have to export this variable or 
> the locale program doesn't see it.
> 
> The command 
> 
> locale -a 
> 
> gives a list of all locales available on my computer.
> 
> locale -m
> 
> gives all the key maps. When setting LC_ALL I can apparently leave out all 
> hyphens. For example, ISO-8859-15 is a key map on my machine but 
> en_US.ISO885915 is permissible if not preferred when setting LC_ALL.
> 
> It is not an error to set LC_ALL to an invalid value. 
> 
> LC_ALL="junk";export LC_ALL
> 
> produced no errors and the locale command dutifully reported all LC 
> variables as set to junk. The default collating sequence for the sort 
> command honored the case of the letters (capitals first) as in C or POSIX. 
> Unsetting LC_ALL returned everything to en_US.UTF-8 (note the hyphen).
> 
> So, that's the way it looks to me. OK all you old Unix geezers, where'd I 
> mess up?
> 
> Lee
> 
> 
> 
> _______________________________________________
> 
> Blinux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/blinux-list
> 

-- 
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703




_______________________________________________

Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]