Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jan 2005 16:52:45 +0100
From:      =?ISO-8859-15?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
To:        freebsd-stable@freebsd.org
Subject:   correct value for LANG variable
Message-ID:  <41F276CD.8020907@cs.tu-berlin.de>

next in thread | raw e-mail | index | archive | help
I am a bit confused. Neither de_DE.ISO-8859-1 nor
de_DE.ISO8859-1 work properly in all cases.

 > setenv LANG de_DE.ISO8859-1
 > echo abcdef uvwxyz | tr '[a-z]' '[A-Z]'
ABCDEF ÚWXYÝ]

 > setenv LANG de_DE.ISO-8859-1
 > echo abcdef uvwxyz | tr '[a-z]' '[A-Z]'
ABCDEF UVWXYZ
 > perl
perl: warning: Setting locale failed.
[lot of indignation about locale settings]

I am suspicious that de_DE.UTF-8 would work correct
with most software. Is it the only solution to don't
use localization currently at all or should it be my
ambition to fix this? What should be the correct
value? I would prefer the notation "ISO-8859-1", but
even the almighty perl does not.

Regards Björn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F276CD.8020907>