On Sun, 16 Sep 2001, Christoph Singer wrote:
> May be there is a problem regarding de_DE.UTF-8 <-> de_DE.utf8?

Glibc normalizes the locale names internally by removing punctuation from
the encoding name and turning everything into lowercase. I found so far
that this adds far more problems than it solves and that a strictly used
standard way of writing encoding names based on the IANA charset registry
would be far preferable. The standards bodies have been sloppy here. For
ISO 8859-* there are many ways of writing the name of the encoding in a
space-free way (ISO8859-1, ISO-8859-1, ISO_8859-1 to name just a few), but
for UTF-8 there is only UTF-8 and nothing else. The /usr/lib/locale names
are the normalized versions used only internally by setlocale().

Applications should not look into /usr/lib/locale/ themselves. If the
locale cannot be found, then setlocale() will signal an error.
Unfortunately, not all applications that call setlocale output an
appropriate error message and abort.

In any case, the fact that "locale charmap" says "UTF-8" means that
you really have a UTF-8 locale running. My copy of vim does under these
circumstances select both the file and the terminal default encoding
appropriately, which is why I am surprised that you find it necessary to
tweak a configuration file. Perhaps you missed another make option?

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to