This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: CYGWIN=codepage? Or LC_CTYPE=foo?
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