Hi! Can anyone please help me getting rid of this error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xb7' in position 13: ordinal not in range(128)
I am not a python programmer (though intend to start learning this wonderful language), I am just using a python script. After doing some search, I found that 0xb7 is a 'middle dot character' that is not interpreted by the python. Even after inserting text = text.replace('\u00b7', '') in the script, the problem still persists. Can anyone please tell me the easiest way to get rid of this? --Thanks, Akhil -- View this message in context: http://www.nabble.com/UnicodeEncodeError%3A-%27ascii%27-codec-can%27t-encode-character-u%27%5Cxb7%27-in-position-13%3A-ordinal-not-in-range%28128%29-tp24509879p24509879.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list