encode/decode misunderstanding
Tim Arnold
tim.arnold at sas.com
Fri Jul 27 11:53:37 EDT 2007
> If I read in the latin1 file using
> codecs.open(filename,encoding='latin1') and write out the utf8 file by
> opening with
> codecs.open(othername,encoding='utf8'), would I no longer have a
> problem -- I could just read in latin1 and write out utf8 with no more
> worries about encoding?
>
> thanks,
Replying to my own post, I feel so lonely! I guess that silence means I *am*
thinking correctly about the encoding/decoding stuff; I'll keep heading in
this direction unless someone out there sees it differently.....
--Tim
More information about the Python-list
mailing list