Need help regarding UnicodeEncodeError
Hi, This seemed to just happen recently. I needed to open one of my folders through the ZMI in order to set security setting, however, when I clicked on the folder this message pooped up: Error Type UnicodeEncodeError Error Value 'latin-1' codec can't encode character u'\u201c' in position 68948: ordinal not in range(256) Can someone assist me with this one? I found out that u'\u201c' stands for a left single quote. So I am suspecting that somewhere in one of the documents within this folder there is content that contains a single quote. Is there anything that will resolve this? Thanks, Laura
Could you export the folder from Zope into XML and search for this character using grep or a text editor and replace it and reimport the folder? -- David On Oct 20, 2004, at 12:42 PM, Laura McCord wrote:
Hi,
This seemed to just happen recently. I needed to open one of my folders through the ZMI in order to set security setting, however, when I clicked on the folder this message pooped up:
Error Type UnicodeEncodeError Error Value 'latin-1' codec can't encode character u'\u201c' in position 68948: ordinal not in range(256)
Can someone assist me with this one? I found out that u'\u201c' stands for a left single quote. So I am suspecting that somewhere in one of the documents within this folder there is content that contains a single quote. Is there anything that will resolve this?
Thanks, Laura _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
David Siedband -
Laura McCord