[reportlab-users] unicode filenames in Reportlab 2.2

neophyte7d8 at aim.com neophyte7d8 at aim.com
Thu Sep 25 11:34:42 EDT 2008



How about a work-around?

f = unicode(filename) or f = unicode(filename, 'utf-8')




-----Original Message-----
From: Niki Spahiev <niki.spahiev at gmail.com>
To: reportlab-users at reportlab.com
Sent: Thu, 25 Sep 2008 9:25 pm
Subject: [reportlab-users] unicode filenames in Reportlab 2.2









Hello!?
?

Reportlab 2.2 can't handle Unicode filenames because it uses utf8str.?
?

pdfdoc.py:217?
?

? filename = utf8str(filename)?

? f = open(filename, "wb")?
?

IMHO this is a bug.?
?

regards,?
?

Niki Spahiev?
?

_______________________________________________?

reportlab-users mailing list?

reportlab-users at reportlab.com?

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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080925/8f1819ae/attachment.htm>


More information about the reportlab-users mailing list