[reportlab-users] RE: any help plz .... (sarah el-lawindy)
Thu, 6 Nov 2003 09:17:41 -0500
You can easily convert your Unicode string to UTF as such:
If this is your string:
st = u'hello'
Use this when you call the ReportLab functions:
story.add(Paragraph(st.encode('utf-8'), style)) # do this
story.add(Paragraph(st, style)) # don't do this
Did you ever get a copy of a Right-To-Left function for ReportLab? Do you
know I could download it? I don't really need it for my work, but I did
Hebrew typesetting once at another job (by typing backward!) so I'm just
curious to see it.