hediet / vscode-drawio

This unofficial extension integrates Draw.io (also known as diagrams.net) into VS Code.
https://marketplace.visualstudio.com/items?itemName=hediet.vscode-drawio
GNU General Public License v3.0
9.02k stars 406 forks source link

Chinese is not supported #324

Open guoweilkd opened 1 year ago

guoweilkd commented 1 year ago

When I create a drawio that contains Chinese, close it and reopen it, the Chinese becomes garbled. How to support Chinese display, what configuration do I need to do. thanks.

hediet commented 1 year ago

Can you share a screen-recording/screenshots?

guoweilkd commented 1 year ago

I found the reason, create drawio file and reopen drawio file need to use the same encoding format. eg: Keep "files.encoding": "utf8" in vscode setting.json consistent.