MATLAB: Are foreign characters substituted by square symbols in the MATLAB Editor/Debugger in MATLAB 7.0 (R14) on Linux

charactercodeseteditorenvironmentinternationallangletterlocalm-fileMATLABmfilesquaresymbol [~]variable

I have created a file in MATLAB 7.0 (R14) on Windows XP with comments containing the foreign characters å, ä and ö. If I open this file in the MATLAB Editor/Debugger on Linux, the foreign characters are substituted by square symbols.

Best Answer

This issue is caused by different codeset settings on Windows XP and Linux. You can work around this issue by changing the locale on the Linux machine.
setenv LANG en_US.ISO8859-1
The locale name might vary on each platform, and installed locale may vary on each system.