XML parsing and ReportLab combination cause extra single quote in PDF
Robin Becker
robin at jessikat.fsnet.co.uk
Wed May 16 06:13:09 EDT 2001
In article <mailman.989978243.25158.python-list at python.org>,
vmhe at alumni.princeton.edu writes
>The below thread is from reportlab-users, but the problem seems to
>stem from my xml parsing.
>
>Essentially, any XML that I parse and then add to a PDF using
>reportlab is added with an extra apostrophe or single quote before
>it. Trimming the string using str = str[1:len(str)] removes the
>first character from the string, not the single quote.
>
>Has anyone seen this or know how to fix it? It is causing much
>anguish.
>
>Many thanks,
>Ginger
>
>vmhe @ alumni.princeton.edu
>
>
for the record this is a unicode vs string problem
--
Robin Becker
More information about the Python-list
mailing list