eclipse-cdt-cloud / cdt-gdb-adapter

CDT GDB Debug Adapter
Eclipse Public License 2.0
28 stars 40 forks source link

Dose not support chinese character? #275

Closed wss29 closed 1 year ago

wss29 commented 1 year ago

Hi, I have a simple C++ file, and I want to debug it in vscode, the path of the C++ file has some Chinese characters, and when I debug I get an error image my project folder is as follows image It seems that cdt-gdb-vscode does not recognize ‘测试’, and give a series of number which is not in my project when I change ‘测试’ to English character it is ok… . how to fix it?

jonahgraham commented 1 year ago

Thank you @wss29 for the bug report. I can indeed reproduce this. It looks like we are missing some escaping in the the adapter. I am transferring this issue to that repo.

jonahgraham commented 1 year ago

I have started with #276 which is a test that demonstrates the problem. I'm working on a fix next.