charles-zablit wrote:

> I opened an issue for this #142568.
> 
> Where @Nerixyz mentions that SetConsoleOutputCP might have problems in 
> cmd.exe (which probably means conhost, the original windows terminal host, as 
> opposed to "windows terminal", the new one).

>From my understanding, the [original 
>issue](https://github.com/jqlang/jq/issues/1121#issue-145089142) in jq is that 
>they did not reset the codepage after the program had exited. My patch does 
>reset it if lldb gracefully exits.

The `/utf-8` approach seems promising as well but I find it suspicious that no 
other project uses it.

Another temporary fix for this while we figure out a long term solution could 
be to force the use of the ANSI characters on windows.

https://github.com/llvm/llvm-project/pull/149493
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to