<<< Date Index >>>     <<< Thread Index >>>

Re: Reading UTF-8 Mail



Hello Derek and Stephan,

 On Monday, May 1, 2006 at 21:37:45 +0200, Stephan Seitz wrote:

> On Mon, May 01, 2006 at 02:42:16PM -0400, Derek Martin wrote:
>> Debian, for example, uses .utf8 instead of .UTF-8 to identify UTF-8
>> locales.
> Nope, not at all: LANG=de_DE.UTF-8

    Glibc's setlocale() does some progressive munging try and error
steps beginning at what's declared in environment, and ending at
".utf8". The Debian installed locale datas are spelled ".utf8". Hence
both spellings are functionally equivalent, but Derek's version is a
very little bit more efficient (some ENOENT failing open()s avoided).


Bye!    Alain.
-- 
Mutt muttrc tip to send mails in best adapted first necessary and sufficient
charset (version for Western Latin-1/Latin-9/CP-850/CP-1252 terminal users):
set send_charset="us-ascii:iso-8859-1:iso-8859-15:windows-1252:utf-8"