MATLAB: How to display Chinese character in edit text box in Matlab GUI

chineseedit text boxguiutf-8

i Have to display chinese characters from db were i am able to display it in matlab console
But in gui only junk characters is displayed i use
set(handles.edit1, 'String', mandarinTxtOut);%for display text in edittext

Best Answer

If you use style push you can do it. For example,
foo = uicontrol('Style','push', 'String','<HTML>AB&#21040;C');