Effacer les filtres
Effacer les filtres

Problem with Russian letters in comments

3 vues (au cours des 30 derniers jours)
roborrr
roborrr le 11 Mai 2024
Modifié(e) : Pavan Sahith le 11 Mai 2024
When I write Russian comments in Matlab starting with the “%” symbol, then after the next entry into Matlab, in the place of Russian letters, there are question marks “?”. How to solve this problem?

Réponses (1)

Pavan Sahith
Pavan Sahith le 11 Mai 2024
Modifié(e) : Pavan Sahith le 11 Mai 2024
Hello,
It appears that MATLAB is not identifying Russian characters correctly and question marks are appearing instead, it could be due to the incorrect encoding being used.
To get a better understanding of the current locale settings in MATLAB, you can use the command:
feature('locale')
Setting the encoding to 'UTF-8' should solve this issue,
You can refer to the following link to change the encoding to UTF-8
You can also refer to the following MATLAB answers which will help you
Hope this information proves valuable in addressing your concern.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by