I have problems encoding some team names.

Python can't work with: ª, é, ç.....

I tried to create unicode in this two ways:

self.nombreLocal = unicode(nombreLocal)
self.nombreLocal = unicode(nombreLocal, 'iso-8859-1')

But there is always one character that can't be encoded!! unicode doesn`t
encode everything?
How can I make the program to try several encoding till one work?

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

Reply via email to