MATLAB: How to save unicode characters in m-files and display them in figures using m-files

MATLABunicode charactersunicode support

Unicode characters (Hebrew letters, in my case) are not saved in m-files. After saving and re-opening the file I see blocks instead of the unicode characters. Also, when I try to display unicode characters in a figure, I get blocks; however, command line works fine and also displaying unicode characters that were read from a file. I tried to apply the solution given here, but this did not solve the problem and displayed garbage. Any solution?

Best Answer

I managed to resolve this issue by renaming the file MATLABroot\bin\lcdata_utf8.xml to lcdata.xml.
Related Question