Workaround bug in HTMLParser (2.5<= v <=2.7) which is impossible to fix due
lack of HTMLParser API which does not accept encoding parameter. So decoding strings on the fly can not be ensured in all cases. Python3 solve the problem by accepting only unicode bytes. The fix consist to pass unicode content to the parser. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41979 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment