From pykde Thu Apr 24 15:47:29 2003 From: Petr =?iso-8859-2?q?Van=ECk?= Date: Thu, 24 Apr 2003 15:47:29 +0000 To: pykde Subject: [PyKDE] qstring(qcstring) into python string X-MARC-Message: https://marc.info/?l=pykde&m=105119950324215 hello. how do you convert the qstring into python one? str(qstring) works fine just for ascii/latin1 something like ret = unicode(str(qstring.local8Bit()), "utf-8") raises UnicodeError: UTF-8 decoding error: unexpected code byte headache today :-/ -- Petr Vanek -------------- petr.vanek [at] ika [dot] cz www.yarpen.cz ---------------- Kuolema Kaikille (Paitsi Meille) ------------------------------- Today is good day to end it all _______________________________________________ PyKDE mailing list PyKDE@mats.gmd.de http://mats.gmd.de/mailman/listinfo/pykde