Tzafrir Cohen wrote on 2003-07-06:
> On Sun, Jul 06, 2003 at 07:14:57PM +0300, Beni Cherniavsky wrote:
> > OK, you don't have any locale whatsoever set up. What linux
> > (distro+version) is it? Another post by you says debian unstable.
> > Great, it's recent so there should be no problems setting up a UTF-8
> > environment. If anybody knows some canonical way to configure this on
> > debian, chime in now.
>
> What do you mean? What do you need to set-up?
>
Make all programs use UTF-8 everywhere. LC_CTYPE should be enough for
well-behaved applications but some other corners might need to be
touched (e.g. fat/samba mount if any).
I assumed that the OP has no non-english texts/filenames yet so he is
free to set up any locale, so I went for UTF-8. Is this the
situation?
> > First thing to try: launch ``xterm -u8`` and do::
> > python -c 'print u"\N{HEBREW LETTER ALEF}".encode("UTF-8")'
>
> echo -e '\327\220'
>
Indeed simpler (and more portable), I just was lazy...
> >
> > Do you see an Alef?
>
> >
> > Second thing: set up (in your `~/.bash_profile` or somewhere in
> > /etc)::
> > LC_CTYPE=en_US.UTF-8
> > Arrange a Hebrew keyboard (e.g. by ``setxkbmap -layout us,il``).
>
> 'setxkbmap us,il' will do.
>
> This is relevant to X, and not to the console, though.
>
``unicode_start`` and ``loadkeys il``, a proper font is needed too
(e.g. ``setfont LatArCyrHeb``). Did I miss anything?
> Also: debian still has XFree 4.2 . In there you need 'setkxbmap il' (no
> 'us').
>
He said debian unstable. Don't they have 4.3 yet?
> > Now try creating and listing Hebrew texts and filenames. Does it
> > work?
>
--
Beni Cherniavsky <[EMAIL PROTECTED]>
Israel is moving to 7-digit cellphone numbers since the current
6-digit scheme, although prolonged for some time by supernetting,
"comes to the end of its useful life, once again due to address space
exhaustion" [RFC 1606 on IPv9 :-]. Why won't they just use DNS?
=================================================================
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]