Persian font encoding in m-files on Matlab

137 views Asked by At

Trying to type Persian in m-files caused to face an interesting encoding problem. Persian characters are not supported when a m-file running. for more information see the following gif:

enter image description here

I'm wondering different encoding between command window and m-file. Initial guess was that the m-files works with ASCII encoding while the command window use Unicode instead. I've tried to solve it myself but I prefer to ask here maybe someone faced this error on his/her project.

0

There are 0 answers