On Sat, 26 Jul 2003, Tzafrir Cohen wrote: > On Sat, Jul 26, 2003 at 10:34:02PM +0300, Shlomi Fish wrote: > > On Sat, 26 Jul 2003, Tzafrir Cohen wrote: > > > > > On Sat, Jul 26, 2003 at 09:16:11PM +0300, Shlomi Fish wrote: > > > > On Sat, 26 Jul 2003, Shlomi Fish wrote: > > > > > > > > > On Sat, 26 Jul 2003, Oded Arbel wrote: > > > > > > > > > > > > > > > > > > > > > This surely can't work.In this locale hebrew characters have no > > > > > > > > representation. > > > > > > > > > > > > > > > > Perhaps you don't have the he_IL locale.What distro do you have? > >> > > >> > > > > > > > I have Mandrake 9.1. > > > > > > > > > > > > Install locales-he as well as kde-i18n-he > > > > > > now set LC_CTYPE in /etc/sysconfig/i18n to 'IL_he.ISO-8859-8' > > > > > > should work now > > > > > > > > > > > > > > > > Thanks! That worked great. Will it have any other effect on my system? > > > > > > > > > > > > > Seems it does. Perl givesme two warnings while Subversion simply refuses > > > > to run because it cannot recognize the locale. Is there a better > > > > solution? What process needs to be aware of this particular locale > > > > setting. > > > > > > Are you sure you installed the package 'locales-he' ? > > > > > > > shlomi:~# rpm -q locales-he > > locales-he-2.3.1.4-6mdk > > And is it the same as the version of glibc on the system? >
shlomi:~# rpm -q glibc glibc-2.3.1-10mdk > > > > > It is he_IL.ISO-8859-8 , as you have correctly noted. > > > > > > What is the output of 'locale' ? > > > > > > > shlomi:~# locale > > LANG=en_US > > LC_CTYPE=he_IL.ISO-8859-8 > > 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= > > What exactly is the error message of perl? > shlomi:~# perl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_PAPER = "en_US", LC_ADDRESS = "en_US", LC_MONETARY = "en_US", LC_NUMERIC = "en_US", LC_TELEPHONE = "en_US", LC_MESSAGES = "en_US", LC_IDENTIFICATION = "en_US", LC_COLLATE = "en_US", LC_MEASUREMENT = "en_US", LC_CTYPE = "he_IL.ISO-8859-8", LC_TIME = "en_US", LC_NAME = "en_US", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). > BTW: you have 'LANG' set to 'en_US' no point in explicitly setting > LC_TIME and the rest of the gang in /etc/sysconfig/i18n > OK. > BTW:[2] your LC_PAPER shouldn't really be en_US (letter), it should be > some ISraeli or european locale to provide A4. Ditto for LC_MEASURMENT . > OK. > Somehow en_UK (or is it en_GB ?) looks like a better English locale. > Why? > One thing to try: look at 'rpm -ql locales-he' . Then 'strace ls' for a > small directory, and see what locales files it opens. > Check: http://t2.technion.ac.il/~shlomif/ls.dump.txt Regards, Shlomi Fish > On my debian/unstable system it is /usr/lib/locale/locale-archive . > (something newin glibc 2.3?) > > -- > Tzafrir Cohen +---------------------------+ > http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| > mailto:[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] > ---------------------------------------------------------------------- Shlomi Fish [EMAIL PROTECTED] Home Page: http://t2.technion.ac.il/~shlomif/ There's no point in keeping an idea to yourself since there's a 10 to 1 chance that somebody already has it and will share it before you. ================================================================= 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]