[issue18059] Add multibyte encoding support to pyexpat

Serhiy Storchaka report at bugs.python.org
Sat Sep 14 15:19:41 CEST 2013


Serhiy Storchaka added the comment:

1) Expat itself responsible for this guard. It has all necessary information and provides an input of required size for custom converter.

2) Yes, this is a problem. I'm working on another approach, when full encoding table built at first request for the encoding (and than cache it). It makes decoding individual characters fast, but requires about 0.5 sec for initialization. Is such approach more suitable?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18059>
_______________________________________


More information about the Python-bugs-list mailing list