Matlab 2013a cannot display Chinese char

5 ビュー (過去 30 日間)
mingming wang
mingming wang 2013 年 4 月 11 日
回答済み: Anandakumar Selvaraj 2014 年 2 月 27 日
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
Anandakumar Selvaraj 2014 年 2 月 27 日
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 Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by