Mombu the GNU Linux Forum

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Env-locale problems
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 22nd November 06:56
david baron
External User
 
Posts: 1
Default Env-locale problems



Most everything I try to do, packages, compiles, etc., kick on the env locale.

They say make sure your environment has (and the kernel supports):
LANG=en_ENus
LC not set
LANGUAGE=en_us

(Yes, the US rules the world!)

I may have my arguments with the parenthetical alleged fact but it is a fact
that my enviromonent has exactly these items , no LC. Knoppix defaults to
German but seeing all the keyboards and options around, I cannot believe that
the kernel does not support en_us.

How do I fix this.


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote


 


2 22nd November 20:41
colin watson
External User
 
Posts: 1
Default Env-locale problems



en_US, not either en_ENus or en_us. Also make sure you've enabled that
locale with 'dpkg-reconfigure locales'.


The kernel has nothing to do with locale support.

Cheers,

--
Colin Watson [cjwatson@flatline.org.uk]


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
3 22nd November 20:42
osamu aoki
External User
 
Posts: 1
Default Env-locale problems


Like Colin said, it has nothing to do with Kernel.

It is one of glibc thing.

locales GNU C Library: National Language (locale) ...

# apt-get install locales
# dpkg-reconfigure locales
... select one you need


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
4 24th November 02:57
jan minar
External User
 
Posts: 1
Default Env-locale problems


IIRC, en_US is the canonical version, but at the end of the day, the
capitalization doesn't matter, nor do some non-alphabetical characters.
They are treated equally by the C library routines. I poke around the
manpages, but was unable to verify this. Am I wrong, Colin?

--
Jan Minar "Please don't CC me, I'm subscribed." x 7

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/+Rfz+uczK20Fa5cRAtJIAJ9ECb7UHQTJ4QcFT7Hdywe/3SxxvwCfcFmM
6584qvIIDWNwB0ig7tNZucg=
=h5IO
-----END PGP SIGNATURE-----
  Reply With Quote
5 24th November 02:57
colin watson
External User
 
Posts: 1
Default Env-locale problems


As far as I can tell I'm afraid you're wrong. Quickest example I can
think of:

[cjwatson@cairhien ~/tmp]$ mkdir locale
[cjwatson@cairhien ~/tmp]$ cd locale
[cjwatson@cairhien ~/tmp/locale]$ touch a B
[cjwatson@cairhien ~/tmp/locale]$ echo $LC_COLLATE
C
[cjwatson@cairhien ~/tmp/locale]$ ls
B a
[cjwatson@cairhien ~/tmp/locale]$ LC_COLLATE=en_GB ls
a B
[cjwatson@cairhien ~/tmp/locale]$ LC_COLLATE=en_gb ls
B a

Looking briefly through glibc/locale, it generally seems to use
strcmp(), not strcasecmp().

Cheers,

--
Colin Watson [cjwatson@flatline.org.uk]


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Debian, Gentoo, Mandriva, Red hat, Suse, Slackware, Ubuntu, Gnu linux


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666