Using Matlab compiler, accents are replaced by question marks.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Marc Raventós Tato
le 6 Fév 2023
Déplacé(e) : Stephen23
le 6 Fév 2023
Did you manage to solve this? I am facing the exact same problem now.
Réponses (1)
Constantino Carlos Reyes-Aldasoro
le 6 Fév 2023
try using the ascii code for the letters that you want to be displayed, e.g.
disp(strcat('d',233,'terministes'))
3 commentaires
Constantino Carlos Reyes-Aldasoro
le 7 Fév 2023
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
le 7 Fév 2023
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.
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!