[kupu-dev] unicode-bug with captioning
Duncan Booth
duncan.booth at suttoncourtenay.org.uk
Tue Jan 29 12:41:46 CET 2008
Wouter Vanden Hove <wouter at netcentric.be> wrote:
>
> Kupu breaks the document when adding an image with captioning
> if the caption contains non-ascii characters.
>
> I changed this my .../kupu/plone/html2captioned.py (kupu 1.4.7)
>
> ++line 174 return template(**d).decode('utf8')
> --line 175 #return template(**d)
>
>
>
Can you let me know which version of Plone you are using? I think there is
something nasty going on here and perhaps different Plone versions are
returning different things. Plone issue #7728 seems to imply that that the
transform needs to return utf8 encoded data, and your post implies the
opposite.
More information about the kupu-dev
mailing list