[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

2008-05-29 Thread Rahman
Rahman <[EMAIL PROTECTED]> added the comment: Thank you. Turkish characters no problem : unicode(self.ui.lineEdit.text()).encode(utf-8) ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

2008-05-29 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Sorry, but you have to be more specific about what you think is a bug. That the default encoding is ascii does have its reasons, and will not change. You're likely to be missing an explicit .encode() call when converting from unicode to str; co

[issue2998] UnicodeEncodeError: 'ascii' codec can't encode character

2008-05-29 Thread Rahman
New submission from Rahman <[EMAIL PROTECTED]>: Hi i Rahman Yazgan. I live in Turkey. I am pyhton(pyqt) programmer. I found a bug : UnicodeEncodeError: 'ascii' codec can't encode character QLineEdit.text(),... UnicodeEncodeError so ascii codecs, can't encoding. python version 2.5(windows) py