Console codepage setting via chcp?

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Sep 23 17:04:00 GMT 2009


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



More information about the Cygwin-developers mailing list