On Mon, May 10, 2004 at 08:45:34PM +0300, Tzafrir Cohen wrote:
> On Mon, May 10, 2004 at 04:51:47PM +0300, Yosef Meller wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Hi guys, ma hamazav?
> > 
> > I've been banging my head on this one for a very long time, I've
> > searched google, google groups, this list's archives, and even posted ib
> > (two) gentoo forums, to no avail. Well, this is the problem:
> > 
> > The 'il' keyboard layout in gentoo emits the hebrew charachters in their
> > unicode representation. I'd like things in X to be consistent with my
> > console (which works with an iso-8859 hebrew) as well as my old Red Hat
> > system I dumped a while ago.
> 
> Actually, the map is in X's own encoding. For characters with no exsting
> name, the convention is not to invent new names, but rather use a
> certain value based on their UCS (Unicode Charset) values.
> 
> X should be able to translate those characters to the encoding that you
> use. You need to fix your environment and/or glibc-locale ettings, not
> the xkb layout.

Tzafrir is right.

1. Make sure your locale's charset is correct. First, run:

locale charmap

The output should be "ISO-8859-8". If it's not, generate a locale with:

localedef -f ISO-8859-8 -i xx_YY xx_YY.ISO-8859-8

where xx_YY is he_IL (or fr_FR, if you're living in France, or
whatever -- it only determines the cultural settings you prefer).

Then set environment variable LC_ALL to "xx_YY.ISO-8859-8".
If you want the messages to be in a different language, also set:
LC_MESSAGES=fu_BR (fr_BR being your prefered locale for messages).

2. If your terminal emulator insists on inserting UTF-8 codes when you
type Hebrew characters, you can use the 'luit' utility to recode them
to ISO-8859-8 on the fly.


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