I am currently using Matlab 2017a, but the display of Chinese language is messed up, how can I solve this?

13 views (last 30 days)
My code has many notations written in Chinese and I can not read them now. thanks a lot for the help.
  2 Comments
Alex Link
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?

Sign in to comment.

Answers (3)

zahid jamal
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++
捕获.PNG

Alex Link
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

YANG LI
YANG LI on 30 Oct 2017
I also got the same problem with the R2017b.
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

Categories

Find more on Function Creation 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!