[Zope] Storing unicode in ZODB objects

Andreas Jung lists at zopyx.com
Sun Dec 14 10:00:37 EST 2008

On 14.12.2008 15:44 Uhr, Thibaud Morel l'Horset wrote:
> Hey AJ,
> Thanks. Full traceback below. Regarding storing files, I meant the File
> Zope Object, as added by the following API call:
> newFolder.manage_addFile(id,title=title, content_type="text/plain",
> file=content).

'file' must be an open file object and not a string with the binary content.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20081214/da567c15/attachment.vcf 

More information about the Zope mailing list