aadsm / jschardet

Character encoding auto-detection in JavaScript (port of python's chardet)
GNU Lesser General Public License v2.1
714 stars 97 forks source link

Wrong guess encoding using ISO 8859-1 #69

Open cirofeitosa opened 3 years ago

cirofeitosa commented 3 years ago

I have a file saved as "ISO 8859-1" encode. When try to open, it detects as "Windows 1251" encode and the accentuations broken.

Example attached to perform this test.

example-ISO-8859-1.txt