I have text files with encoding ISO 8859-7 and they appear with wrong characters. What can i do? Thank you!
Wrong encoding appear
bschaaf
#2
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.
1 Like
mtps
#4
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?
Thank you.
0 Likes
bschaaf
#5
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.
0 Likes