Effacer les filtres
Effacer les filtres

Greek characters in m-file for comments and strings

9 vues (au cours des 30 derniers jours)
Konstantinos Tompoulidis
Konstantinos Tompoulidis le 27 Avr 2018
Hi everyone,
I used to run Matlab 2016b on a windows 10 x64 machine, English Language. I cannot recall system locale setting on that machine though.
Out of the box, if I typed any greek characters in the comments of an m-file and save it, the next time I would open it, the characters would not be recognised properly and would appear with "chinese" effect (I apologise to our Chinese friends for the improper use of the word chinese). However I remember I had found a solution (by searching online), which was quite simple and easy to follow and it worked. Too bad that I didn't right it down somewhere.
Now I have a fresh windows 10 installation and Matlab 2017, but the matlab editor cannot read the greek characters in my m.files properly. If open the files in notepad though, the greek characters are there.
Could you help me out please? It is very important for me to retrieve those scripts.

Réponse acceptée

Konstantinos Tompoulidis
Konstantinos Tompoulidis le 27 Avr 2018
Modifié(e) : Konstantinos Tompoulidis le 27 Avr 2018
I solved my problem. Here is the solution:
Go to Control Panel -> Clock, Language and Region -> Region and change the settings for all three tabs (Formats, Location, Administrative) to "Greek"
.

Plus de réponses (0)

Catégories

En savoir plus sur Labels and Annotations 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!

Translated by