janx / chardet2

Universal Encoding Detector
GNU Lesser General Public License v2.1
23 stars 9 forks source link

Fix ISO-2022-JP encoding detection. #10

Open danhper opened 11 years ago

danhper commented 11 years ago

The EscCharSetProber class was quite buggy, and I got errors when testing for files with ISO-2022-JP encoding. This have fixed it at least for the files I tested here.