On Sun, Jul 06, 2003 at 07:14:57PM +0300, Beni Cherniavsky wrote: > 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.
What do you mean? What do you need to set-up? > > First thing to try: launch ``xterm -u8`` and do:: > python -c 'print u"\N{HEBREW LETTER ALEF}".encode("UTF-8")' echo -e '\327\220' > > 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. Also: debian still has XFree 4.2 . In there you need 'setkxbmap il' (no 'us'). > Now try creating and listing Hebrew texts and filenames. Does it > work? -- 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]