[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] qstring(qcstring) into python string
From: Petr =?iso-8859-2?q?Van=ECk?= <subzero () py ! cz>
Date: 2003-04-24 15:47:29
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic