Using Matlab compiler, accents are replaced by question marks.
2 ビュー (過去 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 で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!