Many thanks Gabriel
Convert to unicode right there, using
read_text.decode("ascii"). You have unicode now.
That's exactly what I was searching for.
This new line:
text = text.decode("ascii")
solved my problem.
Best
-a-
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> [EMAIL PROTECTED]
--------------------------------------------------
I did this interview where I just mentioned that I read Foucault.
Who doesn't in university, right? I was in this strip club giving
this guy a lap dance and all he wanted to do was to discuss Foucault
with me. Well, I can stand naked and do my little dance, or I can
discuss Foucault, but not at the same time; too much information.
(Annabel Chong)
--
http://mail.python.org/mailman/listinfo/python-list