I have text files with encoding ISO 8859-7 and they appear with wrong characters. What can i do? Thank you!
Sublime Merge supports the “encoding” git attribute. For instance adding
*.txt encoding=ISO8859-7 to your
.gitattributes file will make Sublime Merge open all files with a
.txt extension using the ISO8859-7 encoding.
Fantastic! Thank you!!
In case we have different encodings for the same extensions, how can I resolve it?
For example *.txt with ISO8859-7 and UTF-8-BOM. Is there a way for auto-detection?
You can specify files explicitly by using the file name instead of an extension glob, ie.
directory/file.txt. Encodings like ISO8859-7 generally cannot be auto-detected.