I have experienced something like that once or twice. I haven't investigated but I think it is a utf-8 issue. It seems to not happen when the uploaded file is encoded utf-8.
Text editors
Edit HTML file in Files area breaks fonts
This discussion has been locked so you can no longer reply to it.