Thanks Fredrik, i decoded both qu[i][0] and self.query to latin_1
(self.query.decode("latin_1")) and i am not getting the error now.

If you dont mind, I have another question for you. I use wxPython for
GUI development. When i use a string containing "&" character as a
label for statictext, the "&" does'nt appear.It is replaced by a short
_. I have tried different encodings but have no success. what should i
do so that "&" appears on screen?

thanks once againg for your help.

regards,
Ashoka

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to