come giustamente mi ha fatto notare Simone, così: nfkd_form = unicodedata.normalize('NFKD', unicode(input_str)) non mi dà più errori ma rimangono dei simboli "sporchi": [u'Questo articolo e stato pubblicato il 29 maggio 2014 alle ore 05:59.', u"L'ultima modifica e del 29 maggio 2014 alle ore 03:20.", u'The climate continues to improve within the European banking system and even if it\u2019s early to say that the problems have been definitively resolved, Italy seems to have an advantage in the harsh process of renewal imposed by the crisis.',
2015-01-29 9:14 GMT+01:00 Simone Federici <s.feder...@gmail.com>: > Marco Ippolito: >> >> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position >> 16: ordinal not in range(128) > > > u'te l'avevo detto che voleva un unicode' > 'non una stringa' > > > -- > Simone Federici > ------------------------ > Software Craftsman > XP, Agile, Scrum, Kanban > Quality, performance & security > > Explicit is better than implicit. > > > > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python > _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python