[Zope-CMF] Weird UnicodeDecodeError with zope.formlib

Charlie Clark charlie.clark at clark-consulting.eu
Thu Nov 29 08:43:59 UTC 2012


Hiya Patrick,

Am 29.11.2012, 00:12 Uhr, schrieb Patrick Gerken  
<patrick.gerken at computer.org>:

> With the information you provided I'd first try this on a python prompt  
> on a working machine : "Köln" == u"Bonn"

>>> "Köln" == u"Bonn"
bin/zopepy:1: UnicodeWarning: Unicode equal comparison failed to convert  
both arguments to Unicode - interpreting them as being unequal


> If this does not throw the same error, somebody changed the python  
> default encoding. Then I'd look if some of my validators get constraints  
> with umlauts.

There are no fancy constraints just a bundle of TextLine fields.

> But I guess, you tried that already?

No. I guess I'll have to look more closely at the wigdets data. As I said  
a different site on the same machine doesn't exhibit these problems so I  
should have a point of comparison.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Kronenstr. 27a
Düsseldorf
D- 40217
Tel: +49-211-600-3657
Mobile: +49-178-782-6226


More information about the Zope-CMF mailing list