On 03.06.2008, at 22:44, Walter Dörwald wrote:
print " UTF-8 : %s" % " ".join([hex(ord(c))[2:].upper() for c in char.encode("utf-8")])
Thanks. This did the trick. I thought that I did try out this [ ]-notation, but anyway ... the main thing is that it works :)
--Hans