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:
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.