ascii-unicode replacement
Andrea Valle
andrea.valle at unito.it
Thu Apr 5 18:03:05 EDT 2007
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/
--> andrea.valle at unito.it
--------------------------------------------------
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070406/7f95a832/attachment.html>
More information about the Python-list
mailing list