nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] More fun with charset functions


From: Ken Hornstein
Subject: Re: [Nmh-workers] More fun with charset functions
Date: Tue, 06 May 2014 22:45:48 -0400

>I don't think that get_charset() can return NULL, because I don't
>think that nl_langinfo() can.  (As an aside, nl_langinfo() can
>return an empty string, but I don't think nl_langinfo(CODESET)
>will, at least in practice.)

I could be persuaded this is true, but the standards are silent on
this issue.

>This thread might help:
>
>http://lists.gnu.org/archive/html/nmh-workers/2006-08/msg00000.html

That seems to date back when we didn't support retrieving the character
set from the locale, and you had to use MM_CHARSET.  Seems like this
problem got solved a while ago.

FWIW, I looked at mutt and it's fallback if the locale is US-ASCII but
the characters are 8bit is to output "unknown-8bit" as the charset.
Seems like a reasonable idea to me.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]