This migrates plStatusLog and some related code to ST::string and makes the following improvements to Unicode support in logging:
The Python stdout/stderr handler now supports full Unicode, not just the ANSI code page.
Non-ASCII characters in Python stdout/stderr were badly mis-encoded before. They are now output correctly everywhere that supports Unicode (i. e. except in the in-game console and log drawer).
When plStatusLog calls OutputDebugString, it now supports full Unicode and no longer mis-decodes non-ASCII characters.
plStatusLogDrawer's internal line buffer now supports Unicode (even though the rendering code is still ASCII-only).
This migrates
plStatusLog
and some related code toST::string
and makes the following improvements to Unicode support in logging:plStatusLog
callsOutputDebugString
, it now supports full Unicode and no longer mis-decodes non-ASCII characters.plStatusLogDrawer
's internal line buffer now supports Unicode (even though the rendering code is still ASCII-only).