MATLAB: Are some extended ASCII characters not retained in MATLAB’s code editor after closing and reopening an M file

MATLAB

When I create an M file that contains the line a = 'δ' and execute it, it runs normally.  However, when I close the M file and reopen it, the line reads a = '?' in the code editor.  Running the script assigns the question mark character to the variable "a".  Why doesn't MATLAB preserve alternate characters like delta in the editor?

Best Answer

MATLAB only supports the use of printable ASCII characters (character codes 32-127) in the code editor and command window.  Though some alternate, extended ASCII characters may not experience the same issues as delta, the rendering of these characters is not supported at this time.