ConsoleBuf: Use a custom std::streambuf for console output on Windows
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. Change-Id: I33053aa229796e84088aa3beb0ebe8bdbebaf3d1
Showing
- CMakeLists.txt 19 additions, 1 deletionCMakeLists.txt
- ConsoleBuf.hxx.in 348 additions, 0 deletionsConsoleBuf.hxx.in
- testConsoleBuf.cxx 603 additions, 0 deletionstestConsoleBuf.cxx
- testConsoleBuf.hxx 24 additions, 0 deletionstestConsoleBuf.hxx
- testConsoleBufChild.cxx 61 additions, 0 deletionstestConsoleBufChild.cxx
ConsoleBuf.hxx.in
0 → 100644
testConsoleBuf.cxx
0 → 100644
This diff is collapsed.
testConsoleBuf.hxx
0 → 100644
testConsoleBufChild.cxx
0 → 100644
Please register or sign in to comment