[Zope] Zwiki conflicts with my product

Dieter Maurer dieter at handshake.de
Thu Sep 15 15:04:08 EDT 2005


Nicholas Wieland wrote at 2005-9-15 12:39 +0200:
> ...
>    from Regexps import url, bracketedexpr, doublebracketedexpr, \
>  File "d:\Zope-Instance\Products\ZWiki\Regexps.py", line 93, in ?
>    uppercase_uc = unicode(string.uppercase)
>UnicodeDecodeError: 'ascii' codec can't decode byte 0x8a in position 26: ordinal
> not in range(128)

When you set a "locale", then "string.uppercase" may contain
non ascii characters -- something "ZWiki" apparently cannot 
handle -- please file a ZWiki bug report.

You can fix this problem locally in your code
by providing the correct charset as second argument for "unicode()"
in line 93 of "...ZWiki/Regexps.py".


-- 
Dieter


More information about the Zope mailing list