[Lldb-commits] [lldb] [lldb][windows] force the console to use a UTF-8 codepage (PR #149493)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 18 08:17:50 PDT 2025


charles-zablit wrote:

> As far as I know, `WriteConsoleW` is the proper way to get Unicode on the console (this resolved #35615). However, that would require a new output, because currently, everything goes through the stdout FD and the C API.

Thanks for clarifying, I corrected the 4th option. 

https://github.com/llvm/llvm-project/commit/2b8c69204b1d37d91cc775d51af50df7f478cecd does not look like such big of a change, is `lldb`'s mechanism for printing so different from `clang`'s? I can't find where a `Stream` actually gets "printed" to the stdout.

https://github.com/llvm/llvm-project/pull/149493


More information about the lldb-commits mailing list