Simen Haugen wrote:
Hi.
I set the Encoding of my reportwriter, but I don't think it sends this
encoding to reportlab (at least not in all cases). Several of the
reportlab functions has an encoding parameter, and this is default to
"utf8".
Here stringWidth is called (does not accept encoding), this in turn
calls _py_stringWidth from pdfmetrics.py, and this always defaults to
'utf8'.
I can fix this by changing 'utf8' to 'latin1' everywhere, but I really
don't feel like it. Does anyone have a solution for this?
This is a bug in Dabo... we should be wrapping this for you. Mind filing
a bug report? I've already made an enquiry on reportlab-users.
--
Paul McNett
http://paulmcnett.com
http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users