[illumos-Developer] webrev: POSIX style localedef & multibyte encoding support

Andrew Gabriel illumos at cucumber.demon.co.uk
Mon Oct 4 07:07:16 PDT 2010


Owen Shepherd wrote:
> On 3 Oct 2010, at 10:08, Garrett D'Amore wrote:
> 
>> 1) I have added locale data for the English locales that were missing,
>> and eliminated mklocale and friends.  (I removed US-ASCII without
>> replacing it.  If you want 7-bit support- use POSIX or C locale.
>> Otherwise, you really want ISO-8859-1 or -15.) 
>>
> 
> Is the US-ASCII locale likely to be stored in any data files? Should the system perhaps automatically migrate to the POSIX or C locale if it is requested?

A quick grep of my mailbox reveals thousands of:
Content-type: text/plain; CHARSET=US-ASCII; format=flowed

I've no idea what a mail reader might do if that become an unknown 
locale. I would have though you could never retire any existing locale 
for this reason, but this isn't an area where I have any expertise.

-- 
Andrew



More information about the Developer mailing list