How to display chinese character in Matlab 2012B editor and command line?

5 Ansichten (letzte 30 Tage)
Su Liu
Su Liu am 7 Apr. 2014
Beantwortet: Gerald am 28 Sep. 2016
Hi, I face an issue maybe lots of people have been troubled. My system is win 8.1 English. I have lot of codes which have Chinese commend and display outputs.
I have try to do something, 1. change my "Regional and Language Options" to "Chinese (PRC)" 2. change fonts set to 'simsum'
Still display junk like
% m_pstResultDataStruct: ÓÃÓÚÄÚ²¿¼ÆËãµÄÅÓ´óµÄÊý¾Ý½á¹û
Please help!
  3 Kommentare
Rafael Gontijo
Rafael Gontijo am 22 Apr. 2016
I have the same issue, and I am using the English one. Help !
Andreas Goser
Andreas Goser am 27 Apr. 2016
You can't be sure it is the same issue, as the other user did not mention the release used ;-) But seriously, this is a 2y old question and the user didn't bother to respond, so please don't expect timely help. Please call into technical support.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Gerald
Gerald am 28 Sep. 2016
"Those Chinese comments in a M-file became strange symbols after re-open in Matlab Editor (even anyelse editors). The problem lies in the setting of "Standards and formats" setting of "Regional and Language Options". Set it to "Chinese (PRC)" and then the problem solved. Thus, it seems that Matlab read location information from this section and determine the lunguage with which it displays and stores contents."

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by