[z3-five] Zope 2.10 and UnicodeDecodeErrors

eXt restless.being at gmail.com
Mon Oct 9 09:18:36 CEST 2006


Dnia sobota, 7 pazdziernika 2006 23:14, Philipp von Weitershausen napisal:
> Right. The problem is this: the Zope 2.9 ZPT implementation uses str's 
> internally. In good ol' Zope 2 times, people weren't using unicode but 
> 8bit strings which works fine. If you're using unicode, that also works 
> fine, because the str's that Zope 2.9 ZPTs use internally are ASCII only.
> The problem arises in Zope 2.10 which uses unicode's internally (instead 
> of str's). That makes it impossible to include 8bit strings in ZPTs 
> (because unicode and 8bit strings can't be combined).
Nice clarification of things.
 
> Here's some more background on the issue and a proposed fix:
> http://www.zope.org/Collectors/Zope/2180
> 
> If this solves the problem, we should apply the patch.
It doesn't work wor me (nothing has changed after the patch was applied) :(


-- 
Jakub Wisniowski


More information about the z3-five mailing list