[reportlab-users] encoding errors

Dirk Holtwick holtwick at spirito.de
Tue Jan 23 07:37:28 EST 2007


Hi Robin,

thanks for the quick fix of the Unicode problem. As I see you still
print error messages to STDERR in pdfdoc.py without further Informations
about what "s" is or contains:

import sys
print >>sys.stderr, 'Error in',repr(s)

Wouldn't it make sense to use the "logging" module which is present in
Python since version 2.3? Then also warnings could be implemented in an
easier and future proof way.

Bye, Dirk

Robin Becker schrieb:

> Dirk Holtwick wrote:

>

>> Robin Becker schrieb:

>>

>>> just carping won't make any friends, but bug reports are welcome :)

>>>

>>>

>> Do you have a bugtracking system where to put those?

>>

>>

>>> Anyhow what were the actual string/unicode values that were used for the three?

>>> I know we've done Japanese for this so it should be possible to get it working.

>>>

>>>

>> Then please try this one, where "Broschüre" contains the German Umlaut:

>>

>>

> ........

>

> well I fixed pdfdoc so it accepts str-ables or assumes uncode in most places

> where we require str. Now test_pdfgen_general script has some umlaut/accent

> characters in both unicode/utf8 for title/author.

>



--



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20070123/1f2ca431/attachment.html


More information about the reportlab-users mailing list