bug-gnulib
[Top][All Lists]
Advanced

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

Re: GNU sed version 4.2.1: on OS X, C locale gets aliased to UTF-8


From: Stephen J. Butler
Subject: Re: GNU sed version 4.2.1: on OS X, C locale gets aliased to UTF-8
Date: Fri, 1 Jun 2012 16:40:44 -0500

On Fri, Jun 1, 2012 at 4:09 PM, Pádraig Brady <address@hidden> wrote:
> So this is the third time this change has been proposed:
>
> If you following the previous one:
> http://lists.gnu.org/archive/html/bug-gnulib/2012-03/threads.html#00104
> it will refer to Bruno's argument for not changing this:
> http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00342.html
>
> It's very unfortunate that US-ASCII doesn't reflect reality on Mac OS X.
> I don't have such a system to test this myself unfortunately.

I see the previous arguments. What rubs though is that on darwin we're
stuck with the compiled in table that defines "*" as "UTF-8". Yet,
that's not true on any other platform. For VMS there's no default to
UTF-8. For Windows or Cygwin there's no default to UTF-8. For all
other platforms the user can define a charset.aliases to manage
mappings. I don't know what these platforms would do given LC_ALL set
to C or US-ASCII, but there's nothing in the sed code that forces them
to UTF-8.

Yet only on darwin has this decision has been made for us.



reply via email to

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