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
-
En Thu, 05 Apr 2007 14:28:20 -0300, Andrea Valle <[EMAIL PROTECTED]>
escribió:
> I scripted some text files with another language which cannot handle
> unicode.
> As I need special character in the resulting text files (IPA
> extension), my idea was to define some special ascii sequences in the