[reportlab-users] UTF-8 and Bookmark
Tue, 29 Oct 2002 12:36:00 -0000
> On Tue, Oct 22, 2002 at 05:40:28PM +0200, Jo-Bader@gmx.de wrote:
> > in other words
> > the revers of this nice function :-)
> > def utf8(code):
> > "Convert a given UCS character index into UTF-8"
I think the correct thing for anyone doing encoding conversion
in general is to use Python's codecs package, which has been in
Python since 2.0. We only have the function above for the benefit
of 1.5.2 users.