-
Notifications
You must be signed in to change notification settings - Fork 28
Editor does not remember which encoding was selected for file #35
Comments
I believe you're asking for automatic detection of the encoding when you open the file. If so, this is being tracked under #24. |
Not exactly. I was thinking about it for a long time. If we set "autodetection" as "default encoding", then which encoding, editor should use when saving or creating the file? Actually, the "default encoding" in project settings should only affect, which encoding will be used when creating or saving files. As for opening, it's natural, to open the file in the same encoding, which it originally has. |
One workaround may be a text in the beginning of file in a comment section to indicate a fixed manual encoding, like shebang in unix shell files: https://en.wikipedia.org/wiki/Shebang_(Unix). In jEdit there is something similar for a per-file configuration. It may be useful by itself. |
It makes almost impossible to work, if project contains files with different encodings
upd: edited title to be clearer
The text was updated successfully, but these errors were encountered: