[reportlab-users] Unicode for tables

Yordanka Budinova d.budinova at gmail.com
Tue Dec 19 03:00:26 EST 2006


2006/12/19, anu radha <anuradha256 at yahoo.co.in>:

>

> Hi,

>

> I need to unicode the table content.

> I am passing list to table object (t1 = Table(data, None, None))

> How to unicode the table content.

>

> Regards,

> Anuradha

>

> Send free SMS to your Friends on Mobile from your Yahoo! Messenger.

> Download Now! http://messenger.yahoo.com/download.php

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

>

>

Hi, Anuradha,
try something like this:

def u(x): return unicode(x, 'cp1251')

t1 = Table(u(data), None, None)



--

Regards, Dani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://two.pairlist.net/pipermail/reportlab-users/attachments/20061219/5d962aed/attachment.html


More information about the reportlab-users mailing list