CYGWIN=codepage? Or LC_CTYPE=foo?

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Apr 6 15:31:00 GMT 2008


On Apr  6 16:39, Corinna Vinschen wrote:
> In theory we could fetch the current LCID and set $LANG and the
> internally used codepage according to the table.
> 
> Or, we check if LANG/LC_CTYPE is set and only set the codepage according
> to the setting of these variables.  Otherwise we just use the default
> ANSI codepage.

I just found that the Win32 function GetLocaleInfo returns everything
you'd need for that.  Go figure.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list