Main Content

Script Compatibility

As of R2020a, plain text files, such as MATLAB® scripts or functions, that are encoded using UTF-8 (note that all 7-bit ASCII files are de facto UTF-8 encoded), work seamlessly across all platforms and all locales. Plain text files created with an earlier version of MATLAB that are not UTF-8 encoded also work if they were created in the same locale that the current MATLAB is using. Under most circumstances, MATLAB also operates correctly with plain text files encoded in one of the locale-specific CJK (Chinese, Japanese, or Korean) encodings.

Related Topics