When I use Turkish characters in comments, they turn into question marks when I reopen the file

조회 수: 11 (최근 30일)
When I use Turkish characters in comments in MATLAB, they turn into question marks when I reopen the file. How can I solve this issue?
I also encounter this problem when using a directory with turkish characters.
I'm using MATLAB 2023B, operating system is Windows 10.
  댓글 수: 2
Rik
Rik 2024년 4월 22일
Did you change a locale setting? Because saving as UTF-8 has been the default for several years now. Or is this only with files create on Matlab releases prior to this change?
Murat Oztas
Murat Oztas 2024년 4월 22일
Actually, I've been using the same computer for 3 years with old versions of MATLAB ( 2020B- 2021B, 2022B).This character problem occured with this update. Locale setting is correct.

댓글을 달려면 로그인하십시오.

답변 (1개)

Rishav
Rishav 2024년 4월 22일
Hi Murat,
MATLAB can use the UTF-8 character sets for different languages, however, MATLAB uses the Operating System specific User and System Locale and Regional settings for Locale initialization.
Please refer to the following MATLAB answer for the workaround of this issue:
  댓글 수: 1
Murat Oztas
Murat Oztas 2024년 4월 22일
Hi Rishav,
I've looked into this issue, but my locale settings seem to be correct. Actually, I've been using the same computer for 3 years with old versions of MATLAB ( 2020B- 2021B, 2022B).This character problem occured with this update.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by