Problems with csv module

Skip Montanaro skip at pobox.com
Wed May 11 15:08:08 EDT 2005


    >> Based on the requests I've seen here and on the csv at mojam.com mailing
    >> list, it appears people are certainly generating CSV files which
    >> contain Unicode- encoded data.

    Fredrik> in what encodings?

I've seen hints about iso-8859-1/iso-8859-15 and mention that Excel 2000
supports utf-8.  Whether Excel can dump csv files in utf-8 or not, I don't
know, though I'd suppose so.

    Fredrik> is the encoding specified inside the file?  if so, how?

Not that I'm aware of.  AFAIK, you just have to know the file's encoding.

Skip



More information about the Python-list mailing list