Micha Feigin wrote on 2003-07-05:

> Micha Feigin wrote on 2003-06-30:
>
> > > How do I get xterm to show hebrew file names ?
> > >
> > > I set the font properly, but I get the files appearing as a bunch of
> > > question marks (????_??.html)
> > >
> > In the output of ``ls``, right?  Try ``ls -N``.
>
Do try ``ls -N``.  What do you see?

> > First, what does ``locale`` show you?  And what's the encoding of the
> > file names.
>
> locale returns:
> [snip]
>
> > What does your `/etc/fstab` look like?
>
> The relevent entry:
> /dev/hda2     /               reiserfs        defaults        0       0

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.

First thing to try: launch ``xterm -u8`` and do::
    python -c 'print u"\N{HEBREW LETTER ALEF}".encode("UTF-8")'

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``).
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]

Reply via email to