MATLAB Answers

Special characters in m-file comments are being removed/replaced

6 views (last 30 days)
Bill Tubbs
Bill Tubbs on 18 Jun 2021
Commented: Bill Tubbs on 18 Jun 2021
I've noticed that special charactes such as 'Γ' and '' that I sometimes use in comments in m-files are being removed:
% Compute Pr(Γ(k)│Y(k))
After saving, closing and re-opening the file it becomes:
% Compute Pr?(?(k)?Y(k))
According to my file system, the saved file is
charset=us-ascii
Is there any support for other character encodings (e.g. UTF-8) in the code editor?
  4 Comments
Bill Tubbs
Bill Tubbs on 18 Jun 2021
The methods of chaning it prior to 2020a seem a bit complicated. Maybe I'll just wait until I upgrade to 2020a which I will do soon.

Sign in to comment.

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by