Using Matlab compiler, accents are replaced by question marks.
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I have a tiny problem: in French, some words have accents. After compilation with Matlab compiler, accents are replaced by question marks. How can I solve this problem? Thank you for any help you can offer.
Rodrigo
댓글 수: 3
Marc Raventós Tato
2023년 2월 6일
이동: Stephen23
2023년 2월 6일
Did you manage to solve this? I am facing the exact same problem now.
답변 (1개)
Constantino Carlos Reyes-Aldasoro
2023년 2월 6일
try using the ascii code for the letters that you want to be displayed, e.g.
disp(strcat('d',233,'terministes'))
댓글 수: 3
Constantino Carlos Reyes-Aldasoro
2023년 2월 7일
I had similar problems changing from Mac to PC and between versions. But since using ASCII, even if it is a slight complication, I have not had those problems.
Walter Roberson
2023년 2월 7일
In r2012 you got lucky that the characters you were interested in happened to be representable in 8 bits in your default character set. In current versions, utf-8 encoding is used so multibyte encoding is used. Apparently the compiler is not expecting utf-8 encoding.
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!