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

조회 수: 9 (최근 30일)
My code has many notations written in Chinese and I can not read them now. thanks a lot for the help.
  댓글 수: 2
Walter Roberson
Walter Roberson 2017년 8월 7일
Your code is written with Chinese, but what is the locale set to on your computer?
Alex Link
Alex Link 2017년 8월 10일
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?

댓글을 달려면 로그인하십시오.

답변 (3개)

zahid jamal
zahid jamal 2019년 11월 28일
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 2017년 8월 10일
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 2017년 10월 30일
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

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by