Hi Sm, Note: if possible, I would strongly suggest reusing csv.reader rather than reinvent this. It comes in Python's Standard Library:
http://docs.python.org/3/library/csv.html#module-csv --- Anyway, to your question. Do you know what is the encoding of your input file? (And if you don't know what this question means, please ask! Look at: http://www.joelonsoftware.com/articles/Unicode.html, and skip down to "The Single Most Import Fact About Encodings")
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor