This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skip.montanaro
Recipients
Date 2006-12-03.18:22:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I must admit I don't understand the criticism of the UnicodeReader and UnicodeWriter example classes in the module documentation.  Sure, their implementations jump through some hoops, but that's so you don't have to.  If you use them as written I believe their API's should be about the same as the csv.reader and csv.writer classes with the added improvement that the reader returns Unicode and the writer accepts Unicode.  If your desire is to read and write Unicode why do you care that those objects are encoded using utf-8 in the file?

Like Martin asked, are you willing to come up with better examples?  Better yet, are you willing to provide a patch for the underlying extension module so it handles Unicode?  Hint: I'm fairly certain that if it was trivial it would have been done by now.
History
Date User Action Args
2007-08-23 14:50:25adminlinkissue1606092 messages
2007-08-23 14:50:25admincreate