Python encoding
Joan Pallarès
joan.pallares at gmail.com
Mon Aug 18 18:02:38 EDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080819/907619e1/attachment.html>
More information about the Python-list
mailing list