On Sun, Jul 27, 2003 at 11:32:31AM +0300, Oded Arbel wrote:
> On Saturday 26 July 2003 21:16, Shlomi Fish wrote:
> > On Sat, 26 Jul 2003, Shlomi Fish wrote:
> 
> > > > 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 gives me 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.
> 
> That is to be expected. some programs are not as locale friendly as they like 
> to think themselves to be - mostly they simply check the locale against a 
> list of known values and complain horribly if something is a bit outsize 
> known parameters.

I don't know about subversion, but perl actually checks the locale (with
setlocale(3) ?)you have set and complains if it doesn't work. This is
great for checking your locales setting.

> 
> One solution might be to return sysconfig/i18n to its former settings (and as 
> Tzafrir noted- en_GB is usually better then en_US, as the brits are a bit 
> less dumb then the yankies and do have metric measurements like normal 
> people), and then put some script into /etc/X11/xinit.d that will set the 
> appropriate LC_CTYPE just for the X session.

/etc/X11/xinitrc.d right?

Just remember that those scripts are not used if you have your own
$HOME/.xinitrc . Use $HOME/.Xclients (or RH and Mandrake, at least)


> On second thought, that would fuck up perl running inside a konsole. oh well.

-- 
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]

Reply via email to