[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-reconfigure locales and German Umlauts with English Messages



* Lukas Ruf (ruf@rawip.org)[20040603 10:32]:
> Dear all,
>
> short version: I would like to make use of German Umlauts but have all
> the messages displayed in English.  How can I achieve this?

Try just using LANG=en_US.UTF-8.  You should be able to see
not only German, but also Japanese, etc.  Since your locale
is still en_US, all of your messages should still be
displayed in US English.  I use this setting and have no
problems displaying (correctly encoded) messages in mutt,
vim, etc.

I use the "correctly encoded" qualifier because if someone
sends you a windows CP-1252 message claiming that it's
ISO-8859-1, it's not going to display properly.  Mutt's
edit-type command (bound to ctrl-e by default) is useful for
correcting messages that lie about their true encoding.

I'd also advise you to have the default locale be "None"
when dpkg-reconfigure locales asks you.  Just set LANG in
your ~/.bashrc.  You can also unselect all of the locales
you selected, leaving only en_US.UTF-8 to be generated.

If this isn't enough to get you going, please explain
exactly what you're trying to display and where.  For
instance, is this a UTF-8 text file, or a ISO-8859-1 email
in mutt?  and is it in an xterm, or on the console?  I have
my default x-terminal-emulator set to uxterm, and my locale
looks like this:

vineet@quesadilla:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

and everything pretty much Just Works.

good times,
Vineet

Attachment: pgpz23hIo9uMa.pgp
Description: PGP signature


Reply to: