-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I'm using Typora for work related documents, often to prepare implementation related specifications. Our customer has a strict requirement of having all text strings encoded in Latin-1, so is our Git repository. Unfortunately, Typora always defaults to UTF-8. This breaks encodings during Git commits.
Typora only offers the cumbersome menu action File -> Reopen with Encoding. It doesn't remember this setting, though, meaning I have to redo this every time I switch to another file. This is easy to miss.
So far I always check my changes before committing and often have to fix mixed encodings with dozens of special characters. This is time consuming.
I'd like to have a better solution for this. Some ideas:
- Remember the file encoding for each file opened in the past.
- Have a default file encoding set in the settings.
- Perform a check once the file is opened and if it's not UTF-8, prompt the user for the correct file encoding.
Thanks.