Если ввести текст на русском и попытаться его пропринтовать с помощью метода text(), то вылетит ошибка UnicodeEncodeError: ‘ascii’ codec can't encode characters in position 0-2: ordinal not in range(128)
Rodegast
Авг. 19, 2013 13:26:14
unicode(self.QLineEdit.text())
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.