The types of the objects of the lists which have to be
joined in the two functions assemble_parts and astext
are sometimes of type str and sometimes of type unicode.
This is fatal if you have to use unicode all over the
time and encoding the html output into one charset
I haven't the time to locate the source of this bug, so
I wrote this simple attached workaround including the
function ujoin(liste) called by the above functions
instead of ''.join(...)
If this bug is generally fixed, you can return simply
to the old form
ujoin(...) -> u''.join(...) in the calling functions
or add here the following line
prior to the first line in the ujoin function
Log in to post a comment.