-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
This amounts to two changes:
- Support Windows Console API in
terminal.hpp
functions - Implement Unicode console output through
WriteConsoleW
. This means switching towstring
andwostream
, or setting up cout locale to convert UTF-8 to UTF-16 (withcodecvt_utf8_utf16
).
See:
- wostream fails to output wstring http://stackoverflow.com/questions/11610583/wostream-fails-to-output-wstring
- std::codecvt_utf8_utf16 http://en.cppreference.com/w/cpp/locale/codecvt_utf8_utf16
Metadata
Metadata
Assignees
Labels
No labels