matarrese/juniversalchardet

GB18030 and BIG5 Prober have bug

Closed this issue · 2 comments

GB2312 GB18030 and Big5 Charset Detect error

So I look up the mozilla universalchardet code

I found the  BIG5Prober.handleData has an error

please modify "this.distributionAnalyzer.handleChar(buf, i - 1, charLen);" 
to "this.distributionAnalyzer.handleOneChar(buf, i - 1, charLen);"

and GB18030Prober.handleData has the same bug.Do the same thing can fix 
the same bug. 

Original issue reported on code.google.com by Lers...@gmail.com on 9 Jul 2008 at 3:24

Thank you for your report.
I'll fix them in the next release.

Original comment by taksc...@gmail.com on 23 Jul 2008 at 12:04

  • Changed state: Accepted

Original comment by taksc...@gmail.com on 23 Jul 2008 at 12:50

  • Changed state: Fixed