Matlab 2013a cannot display Chinese char

5 次查看(过去 30 天)
I am using windows 7 64bit with SP1, English edition. Non-unicode setting already set to Chinese(RPC). If I create a txt file, I can input Chinese char and display correctly.
However, In Matlab 2013a, I set font to "Segoe UI". If I input Chinese char, it display as square, which mean matlab cannot show chinese char.
I did not meet this issue in 2012b at least.

回答(1 个)

Anandakumar Selvaraj
Try this in your code
feature('DefaultCharacterSet', 'UTF8') %# for Chinese Character support
Note:- that UTF-8 can be used for all languages and is the recommended charset on the Internet.

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by