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" There's parse_utf8 in ttfonts.py, which takes a UTF-8 string and returns a list of UCS character codes. HTH, Marius Gedminas -- Veni, Vidi, VISA: I came, I saw, I did a little shopping.