[Top][All Lists]

[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:

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.


reply via email to

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