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

via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 18 07:47:46 PDT 2025


Nerixyz wrote:

> I added `add_compile_options(/execution-charset:utf-8)` to `llvm-project\lldb\CMakeLists.txt` however that did not fix the issue.

Then setting the code page is probably the best idea, requiring the least amount of effort.

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.



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


More information about the lldb-commits mailing list