[reportlab-users] PDF without file
Robin Becker
robin at reportlab.com
Sat May 27 07:37:26 EDT 2006
François Pinard wrote:
> [Michael Hipp]
>>> [Andy Robinson]
>
>>> Yes, pass a CStringIO or other file like object to the filename
>>> argument either when constructing a canvas or a doctemplate, and it
>>> will put the file in that.
>
>> Thanks, looks like that will work perfectly.
>
> Hi, people. I did not follow the thread and may be fully out of
> context, so take me with a few grains of salt :-).
>
> Contents of a CStringIO may not be Unicode (unless Python changed
> recently). Now that Reportlab is Unicode-aware, one may sometimes have
> to resort to the slower StringIO.
>
or restrict to utf8 encoding
--
Robin Becker
More information about the reportlab-users
mailing list