Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Su Liu
Su Liu le 7 Avr 2014
Réponse apportée : Gerald le 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 commentaires
Rafael Gontijo
Rafael Gontijo le 22 Avr 2016
I have the same issue, and I am using the English one. Help !
Andreas Goser
Andreas Goser le 27 Avr 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.

Connectez-vous pour commenter.

Réponses (1)

Gerald
Gerald le 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."

Catégories

En savoir plus sur Just for fun dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by