set python default encoding

2009-04-06 Thread reetesh nigam
Hi All, I am unable to set the python default encoding. i used the following proccess to set the python encoding import sys reload(sys) sys.setdefaultencoding('latin-1') but it is giving me the same error : args = ('utf8', MEDICINE '\xc4 , 10, 12, 'invalid data', bound method Root.history

set python default encoding

2009-04-06 Thread R. David Murray
reetesh nigam nigamreetes...@gmail.com wrote: Hi All, I am unable to set the python default encoding. i used the following proccess to set the python encoding import sys reload(sys) sys.setdefaultencoding('latin-1') but it is giving me the same error : args = ('utf8', MEDICINE