PyQt documentation

Jarek Zgoda jzgoda at gazeta.usun.pl
Fri Feb 11 15:44:39 EST 2005


djw napisał(a):

> 6. Convert QStrings with str() from Qt functions/methods if you want to 
> work with them with std. Python string functions

No, no, no, don't do it, don't use str()! Your python will choke in any 
non-ascii character! Use unicode objects and you will be safe from those 
non-anglosaxons who use all these rubbish european characters such as 
umlauts, cedillas, ogoneks and so on.

-- 
Jarek Zgoda
http://jpa.berlios.de/ | http://www.zgodowie.org/



More information about the Python-list mailing list