MATLAB Answers

Ole
0

Cyrylic in Matlab .m file save and run issues

Ole
さんによって質問されました 2017 年 8 月 2 日
最新アクティビティ Ole
さんによって 編集されました 2017 年 8 月 2 日
I am sure there should be a solution out there for using matlab with different alphabet that Latin.
When I run a script with Cyrillic strings from the command window, the code works fine.
When I try to run a script from the editor window the encoding is confused. When I save the .m file, and then open it the Cyrillic strings are lost and only ? characters appear. Also the gui displays ?? characters. The Windows is set for English settings if this matters.

  0 件のコメント

サインイン to comment.

製品

1 件の回答

Walter Roberson
回答者: Walter Roberson
2017 年 8 月 2 日

Unfortunately when your locale is set to English, MATLAB saves files as 8 bits rather than as UTF-8 .

  0 件のコメント

サインイン to comment.



Translated by