[cmake-developers] [PATCH v5] For consoles output on Windows use our own std::streambuf

Brad King brad.king at kitware.com
Tue Aug 2 13:11:14 EDT 2016


On 07/27/2016 12:54 PM, Dāvis Mosāns wrote:
> Currently Microsoft's C++ libraries implementation of std::cout/cerr
> can't output Unicode characters but only ASCII or ANSI if locale is set
> so we implement and use our own ConsoleBuf which can output Unicode
> characters to console and it doesn't matter what locale or console's
> codepage is set.

Thanks.  I've added this for review in upstream KWSys:

 http://review.source.kitware.com/21407

Please see instructions at

 http://public.kitware.com/Wiki/KWSys/Git/Develop

to sign up so we can iterate on the change there.

Thanks,
-Brad



More information about the cmake-developers mailing list