Displaying non-Latin characters in GUI

6 次查看(过去 30 天)
I have a problem displaying non-Latin characters in my GUI. I read databases in different languages (Japanese, Chinese, Russian etc) but even if I can read the characters, I have a problem displaying them later in GUI, ash shown on the picture.
I tried UTF-8 encoding, but it doesn't help. I use Matlab 2013b.

回答(1 个)

Walter Roberson
Walter Roberson 2017-12-11
In R2013b, the restrictions were:
  • text() objects such as labels support only some specific named characters such as \Alpha, and this requires the interpreter property to be set to tex or latex
  • some text() objects did not have an interpreter property, but in some cases it was possible to find the text() objects and replace them with other text() objects that do support Interpreter
  • interpreter latex did not support any character with position more than 255 (and still does not, even in the latest MATLAB versions)
  • interpreter tex did not support any character with position more than 255 (but does in R2014b and later)
  • uicontrol style text and edit did not support any character with position more than 255 (but does in R2014b and later)
  • uicontrol style push, radio, and check supported HTML 2.0 named entities, provided that the 'String' property began with '<html>' (not case sensitive)
  • at the moment I have forgotten whether uicontrol style listbox and popup supported HTML 2.0 named entities... I think they did
  • uitable data property supported HTML 2.0 named entities, provided that the 'String' property began with '<html>' (not case sensitive)
  • Other than as described above, there was no support for character positions 256 and beyond.
R2014b added much more support for characters beyond 255 (... except for latex interpreter.)
  1 个评论
Karolina Ruszczyk
Karolina Ruszczyk 2017-12-11
so is there any possibility to make it work in Matlab 2013b or do i have to have Matlab 2014 version?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by