[kupu-dev] UnicodeDecodeError with umlauts in image title
Danny Bloemendaal
danny.bloemendaal at informaat.nl
Mon Jul 14 14:19:58 CEST 2008
I'm suddenly seeing unicode errors with kupu and images lately in 2.5.
Is this related?
On 10 jul 2008, at 09:01, Tim Terlegård wrote:
> On Jul 4, 2008, at 9:36 AM, Duncan Booth wrote:
>
>> Tim Terlegård <tim.terlegard at valentinewebsystems.se> wrote:
>>
>>> I get an error when I have an image with a title that contains
>>> umlauts
>>> and use that image inside a document with caption enabled.
>>>
>> No, don't commit that.
>>
>> You haven't said which version of Plone you are using. The problem is
>> that some versions of Plone return unicode here and some return byte
>> strings so the code has to work in both situations. However it is
>> important that the regular expression be working on unicode.
>
> Right, my change only worked in 2.5, not in 3.1. So I changed the code
> a bit and now it works on both. I commited it in r56399.
>
> /Tim
> _______________________________________________
> kupu-dev mailing list
> kupu-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/kupu-dev
More information about the kupu-dev
mailing list