nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Deprecating MM_CHARSET

2014-01-19 16:57:23
I am wondering if we can assume that nl_langinfo() exists on all
platforms that we care about.  It's part of POSIX.  I ask because if it
doesn't exist I'm not sure how we get the current character set.  My
feeling is in this day and age we should assume it exists.

I would assume a locale of "C" in the absence of ml_langinfo().  That's the 
default locale if there are no $LANG or $LC_* definitions in scope, and the 
behaviour is intended to be backwards compatible with the pre-locale UNIX 
behaviour.

--lyndon

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>