This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Console codepage setting via chcp?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 23 Sep 2009 19:03:43 +0200
- Subject: Re: Console codepage setting via chcp?
- References: <20090923164812.GG20981@calimero.vinschen.de>
- Reply-to: cygwin-developers at cygwin dot com
On Sep 23 18:48, Corinna Vinschen wrote:
> Hi,
>
>
> while mulling over the locale stuff it suddenly occured to me that
> I made an assumption about the Windows console which never was true
> and quite dumb as well.
>
> Right now, if you switch the charset via the setlocale function, you
> also switch the charset used for console output. This is done on the
> grounds that the console isn't capable to switch the console set by
^^^^^^^^^^^
Ouch. Make that "codepage" or "charset"
> itself, as it is for terminal emulators like mintty. [...]
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat