Thursday, March 29, 2007

Chinese characters in Matlab

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.

Unfortunately, the previous damaged M-file cannot be recovered.

No comments: