in pidPDF, in both _escape methods, it is taken for granted that the repr will return a dingle quoted string.
However, when the object to be escaped is a unicode string (as defined by Python 2.0), the result is u'str'.
This has the effect of leaving an extra ' at the beginning of the string. While it is easy to circumvent this problem (simply use str()) in client code, it would be better to do it in the PDF backend itself.
Damn! Look like I forgot to log in when I entered the bug.
Please send any question to me.
Logged In: YES
user_id=1971
Next Action:
This should be trivial fix. Just take off an extra letter
if it's a unicode string. (piddlePDF.py , _escape() line 251)