This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: bash and the current locale implementation
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-developers at cygwin dot com
- Date: Thu, 01 Oct 2009 04:50:01 -0600
- Subject: Re: bash and the current locale implementation
- References: <20091001102822.GE7193@calimero.vinschen.de>
According to Corinna Vinschen on 10/1/2009 4:28 AM:
> Consequentially, bash can't just call setlocale (LC_ALL, ""). Instead,
> bash calls the following:
>
> setlocale (LC_CTYPE, "foo");
> setlocale (LC_NUMERIC, "foo");
> setlocale (LC_TIME, "foo");
> [...]
I'll see if I can find some way to patch bash.
>
> Same goes for dash, btw, but it isn't locale-aware anyway.
dash prides itself on being as small as possible; I'm not going out of my
way to change that by adding locale support.
--
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net