seiflotfy / compatipede

Automating Compatibility
Mozilla Public License 2.0
5 stars 3 forks source link

'utf8' codec can't decode byte 0xcc in position 12737: invalid continuation byte #13

Closed hallvors closed 10 years ago

hallvors commented 10 years ago

Try to run for example http://m.46644.com/tool/caipiao/?tpltype=firefox - script seems to hang with the error above.

Nice if we can fix this both with some smarter encoding handling AND with a better error handling to try to make sure no errors will ever hold up the URL playing..

hallvors commented 10 years ago

https://github.com/seiflotfy/mozcompat/commit/346e7d512831c07a45728251f9dcec8cbd1fab78 and follow-up fix https://github.com/seiflotfy/mozcompat/commit/bf50f202cdc18ab09ac03fd991235e0b3b52265e solves this. Compatipede is finally ready for our big list of Chinese sites :)