Convert Qstring to string in windows

C@rlos cmferras at estudiantes.uci.cu
Thu Oct 16 17:21:38 CEST 2014


I have been tryed to convert a Qstring text to string on python, in linux that work fine but in windows when qstring contine á,é,í,ó,ú the converted text is not correct, contine extranger characters, 
this qstring text is an url from qdialogtext. 

in linux i do for this way: 
pythonstringtext=qstringtext.text().toUtf8.data() 
and it return a python string correctly. 

i need some help plese... 

.....C at rlos 


III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141016/eb4b6861/attachment.html>


More information about the Python-list mailing list