Why Matlab doesn't support font for foreign language such as Czech. For example the character ě š č ř ž ý á í é.

35 ビュー (過去 30 日間)
I tried to publish my m-file to document. and then I surprised that the big and widely used software like Matlab doesn't support non-English language.The characters ě š č ř ž ý á ..., which is in Czech never display properly. Does anybody have experiments about it? I seen some where describing how to display some special characters on figure, etc... But publishing uses too much lines of text (to describe the functions)

採用された回答

Anandakumar Selvaraj
Anandakumar Selvaraj 2014 年 2 月 27 日
Try this in your code
feature('DefaultCharacterSet', 'UTF8') %# for all Character support
or try 'Windows-1250' insted UTF8
'Windows-1250' for Central European languages that use Latin script, (Polish, Czech, Slovak, Hungarian, Slovene, Serbian, Croatian, Romanian and Albanian)
Note:- that UTF-8 can be used for all languages and is the recommended charset on the Internet.

その他の回答 (2 件)

José-Luis
José-Luis 2014 年 1 月 15 日
What character encoding are you using? Might be that Czech is not supported for it. You could always change it.
doc slCharacterEncoding
  2 件のコメント
Bac VU
Bac VU 2014 年 1 月 16 日
I changed all showed character set :
'US-ASCII'
'Windows-1252'
'ISO-8859-1'
'Shift_JIS'
But doesn't help. Can you tell me a litte more about these character sets, when should I use it?
Walter Roberson
Walter Roberson 2014 年 1 月 17 日
ISO-8859-2 has Czech.
The characters that are to appear, how are they being created? Are they part of string constants? Are they comments? Are you trying to create them with text() ?

サインインしてコメントする。


zahid jamal
zahid jamal 2019 年 11 月 28 日
i can always work in chinese version or specific language version but if your code comments are in another language so it will make this issue . my laptop windows in chinese but the matlab i am using in english

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by