14 Dec
2008
14 Dec
'08
12:13 a.m.
Hello, I'm trying to store strings with certain unicode characters that don't convert to ascii in the ZODB. Specifically, as a file object and as properties of that file object. I get the following errors (from a script): *Error Type: AttributeError* *Error Value: 'unicode' object has no attribute 'seek'* and *Error Type: UnicodeEncodeError* *Error Value: 'ascii' codec can't encode character u'\u201c' in position 0: ordinal not in range(128)* Is there a way to work around this? or do I need to use a relational DB to store the data? I'm on Zope 2.9.7 Thanks, Thibaud