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

czechfontMATLABnon-englishspecial characters

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)

Best Answer

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.
Related Question