You might try to set the default characterset encoding of your Python interpreter to "iso-8859-1". Python defaults to ascii (check your site.py file of your Python installation). -aj ----- Original Message ----- From: "Christopher N. Deckard" <chris@globalfoo.net> To: <zope@zope.org> Sent: Tuesday, August 27, 2002 13:45 Subject: [Zope] unicode error
How do I get around this?
Error Type: UnicodeError Error Value: ASCII decoding error: ordinal not in range(128)
There are non-ascii characters stored in properties of folders and I'm trying to build an xml string to send off to a ParsedXML object for parsing. Do I need to encode with a different encoding? I'm basically doing:
XMLstring = XMLstring + new_part_from_folder_property
Thanks, -Chris
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )