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

4 visualizaciones (últimos 30 días)
Su Liu
Su Liu el 7 de Abr. de 2014
Respondida: Gerald el 28 de Sept. de 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 comentarios
Rafael Gontijo
Rafael Gontijo el 22 de Abr. de 2016
I have the same issue, and I am using the English one. Help !
Andreas Goser
Andreas Goser el 27 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Gerald
Gerald el 28 de Sept. de 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."

Categorías

Más información sobre Software Development Tools en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by