When accessing the "Functions" tab of a file in File Exchange, the code of the uploaded functions is shown. I have discovered that this code is not necessarily the actual code that was uploaded: Some characters are simply missing, such as "°" and "²". In one of my functions, this leads to faulty figure titles and documentation. Is this intended to happen?
In my experience, many people do not use the Download button to access files from File Exchange but instead simply copy and paste the code from the website via the Functions tab, either because they do not have a MathWorks account or because they are too lazy to log in. Hence I think that the code that can be copied from the website should be exactly the same as in the actual file.
Is there a list of to-be-omitted characters, or a rule that determines whether characters are omitted? Are all superscripts omitted? If this issue persists, I would like to know which characters I should avoid to use.