fekaputra / juniversalchardet

Automatically exported from code.google.com/p/juniversalchardet
0 stars 0 forks source link

GB18030 and BIG5 Prober have bug #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago

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