Open codehz opened 3 months ago
Unicode strace output could also potentially be fixed for all Windows in our support vector by modifying klog
to convert to UTF-16 and print using WriteConsoleW
when possible instead of WriteFile
. If there isn't enough stack space available to convert to UTF-16 it would have to fallback to existing behavior
updated: I think it is possible to use only SetConsoleCP / SetConsoleOutputCP without embedding the manifest... since all other api is using either Nt version or W version (which use wide string already)
original: