Re: Problems typing in hebrew in xterm.

From: Tzafrir Cohen (tzafrir_at_nonexisting.hamakor.org.il)
Date: Fri 25 Jun 2004 - 00:58:25 IDT


On Thu, Jun 24, 2004 at 11:00:13PM +0300, Meir Maor wrote:
> Hi,
> I have recently installed debian-testing on my new laptop
> And have tried to type in hebrew in a virtual console(konsole or xterm)

Those are generally called "terminals" or event simply "xterms". The
word "console" (and more specifically: "virtual console) refers in linux
to what you get from ctrl-alt-<N>

> when running xterm I recieve the following message:
> "Warning: locale not supported by C library, locale unchanged"

This error means that your system does not provide locale information
for the locales defined in your environment. Thus the fallback to the
default (C) locale.

>
> I have tried the following values for LC_ALL
> he_IL,he_IL.utf8,he_IL.UTF-8,he_IL.iso8859-8,en_US.utf8,en_US.UTF-8

Each one separately?

Anyway:

1. edit /etc/locales.gen and add the line:

  he_IL.UTF-8 UTF-8

2. run 'locales-gen'

3. In your environment set:

    LANG=he_IL.UTF-8

  Consider also (if you don't want a Hebrew user interface)
  
    LC_MESSAGES=C

  And maybe even:

    LC_TIME=C

  make sure LC_ALL and the rest of the LC_* variables are unset.

4. run 'uxterm' instead of 'xterm'

I would generally not reconmmend you to work with a non-UTF-8 locale. I
can't see any reason to do that. But if that is what you want:

1. edit /etc/locales.gen

2. run locales-gen

3. Same as previous (#), but s/he_IL.UTF-8/he_IL/

4. set xterm's font to e.g. heb8x13 , or
   -misc-fixed-medium-r-*-*-*-140-*-*-*-*-iso8859-8

-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:tzafrir_at_technion.ac.il       +---------------------------+
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Fri 25 Jun 2004 - 01:12:36 IDT