On Fri, Oct 21, 2005 at 09:06:44PM +0000, Shlomi Shalem wrote: > I am using Slackware 10.2 and everything works just fine for me except > one: I can't properly set my locale for some reason. > I changed (as a root) the following files:
Maxim already answered about the sh syntax issues. Also: > > /etc/profile.d/lang.csh: > > setenv LANG C So the default for the LC_* is 'C' . > setenv LC_CTYPE he_IL.UTF-8 > setenv LC_NUMERIC C > setenv LC_TIME C > setenv LC_COLLATE C > setenv LC_MONETARY C > setenv LC_MESSAGES C > setenv LC_PAPER C > setenv LC_NAME C > setenv LC_ADDRESS C > setenv LC_TELEPHONE C > setenv LC_MEASUREMENT C > setenv LC_IDENTIFICATION C Then why bother set them explicitly? Not to mention that this gives you an incorrect LC_PAPER, LC_MONETARY, LC_MEASUREMENT and possibly others. Also note that LC_COLLATE is different on C than on en or he: $ echo -e 'a\nB' | LC_COLLATE=C sort B a $ echo -e 'a\nB' | LC_COLLATE=en_US sort a B Thus I tend to set: LANG=he_IL.UTF-8 #LC_MESSAGES=C #LC_TIME=C -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend ================================================================= 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]
