utf 8 - [vscode][gdb] watch non-ascii values in (wide) string -


i'm using vscode writing c/c++ programs. there way show non-ascii (like cjk) characters on debug panel?

here's .gdbinit in ~:

kuddlim@kuddlimnb:/data/code/test/build/bin$ cat ~/.gdbinit  set target-wide-charset ucs-4 kuddlim@kuddlimnb:/data/code/test/build/bin$ echo $lang en_us.utf-8 kuddlim@kuddlimnb:/data/code/test/build/bin$  

when put korean characters std::string , std::wstring

vscode shows invalid characters (see watch panel in left , what's in kor , wkor : enter image description here

and gdb shows corrent characters : enter image description here


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -