MATLAB: Special character not saved / displayed properly in .m file

angstromencoding

I have two versions of matlab: 2013a and 2014a. Just to give an example, lets have a .m file containing:
a = 'Å'
save this .m file in 2014a, reopen, it becomes
a = ' ?'
On the other hand, if you run a = 'Å' in the command window, it works.
For 2013a, saving the file and reopen, there is no problem, it is still correctly displayed as a = 'Å'
Then, if I save the .m file in 2013a with the command a = 'Å', and open in 2014a version, it becomes
a = '
This is annoying. Any help is greatly appreciated.

Best Answer

Ok I think I've found out whats going on.
I am using Win 7, and I noticed that the Language for non-Unicode programs was Chinese. Changed to English and it works fine now.
Still don't know why only 2014a ver has this problem though.
Thanks to Guillaume and everyone who helped.
Related Question