$LANG Variable

Lukas Sabota punkrockguy318 at comcast.net
Tue Sep 20 20:37:05 CDT 2005


Martin Pitt wrote:

>Hi Lukas!
>
>Lukas Sabota [2005-09-18 13:52 -0400]:
>  
>
>>On most of all my programs, I am getting this warning:
>>Warning: locale not supported by Xlib, locale set to C
>>My LANG variable is set to en_US.  Is that what it is supposed to be?  
>>    
>>
>
>Not *quite*, it should be en_US.UTF-8, but en_US should work, too.
>
>  
>
>>Should the LANG variable be set to C?
>>    
>>
>
>No, that would not make sense. Please give us the output of
>
>  locale -a
>
>and 
>
>  locale
>
>Martin
>
>  
>
lukas at gnarley:~$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
lukas at gnarley:~$ locale -a
C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_IN.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US
en_US.iso88591
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX




More information about the ubuntu-devel mailing list