[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Deprecating MM_CHARSET
From: |
Lyndon Nerenberg |
Subject: |
Re: [Nmh-workers] Deprecating MM_CHARSET |
Date: |
Sun, 19 Jan 2014 14:56:52 -0800 |
> 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
signature.asc
Description: Message signed with OpenPGP using GPGMail