Amir Hardon wrote on 2003-08-10:
I'm breaking my head trying to understand what exacty the glibc locale does?
It seems like it sets some global encoding flag.
Doing ls in a directory with Hebrew filenames gives me gibrish(yes the console
font and encoding is set correctly), but after setting LC_ALL=he_IL ls will
show me the filenames correctly.
My problem is that when LC_ALL is set to he_IL many programs will output
Hebrew text (for example date). I want to be able to view and write hebrew,
while the default language is English.
* LC_ALL sets all aspects of the locale.
* LC_ALL is intended as an override, normally you want to set LANG
* LC_CTYPE controls the character set.
* LC_MESSAGES controls the messages.
* There are a lot more of these.
So try::
LANG=he_IL
LC_MESSAGES=en_US
man locale for more details. The `locale` utility prints your current
effective settings.
--
Beni Cherniavsky [EMAIL PROTECTED]
=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]