Cyrylic in Matlab .m file save and run issues

조회 수: 14 (최근 30일)
Ole
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.

답변 (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 .

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by