I am currently using Matlab 2017a, but the display of Chinese language is messed up, how can I solve this?
8 views (last 30 days)
Show older comments
My code has many notations written in Chinese and I can not read them now. thanks a lot for the help.
2 Comments
Walter Roberson
on 7 Aug 2017
Your code is written with Chinese, but what is the locale set to on your computer?
Alex Link
on 10 Aug 2017
In addition to Walter's question, could you provide an screenshot of how the Chinese characters are appearing? Do they appear as blocks, question marks, etc?
Answers (3)
zahid jamal
on 28 Nov 2019
i just found other solution for that, you need open your code open with notpad++ and it will show you all other language comments
NOTE; i will not work with simple notepad ,,, so you need Notepad++
Link for the Notepad++ https://notepad-plus-plus.org/downloads/
![捕获.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251197/%E6%8D%95%E8%8E%B7.png)
Alex Link
on 10 Aug 2017
The solution steps in the following link may be a helpful place to start: https://www.mathworks.com/matlabcentral/answers/262114-why-i-can-not-read-comments-in-chinese-in-my-mfile
0 Comments
YANG LI
on 30 Oct 2017
I also got the same problem with the R2017b.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/178998/image.jpeg)
All Chinese comments cannot be displayed correctly but question marks. I try the method below to sort it out but failed. Because when I open the file lcdata.xml, I cannot find the part which the answer writer want me to change. https://cn.mathworks.com/matlabcentral/answers/280988-how-do-i-get-my-matlab-editor-to-read-utf-8-characters-utf-8-characters-in-blank-squares-in-editors
Does someone know how to fix it? Thks
0 Comments
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!