]> granicus.if.org Git - python/commit
Change the example classes UnicodeReader and UnicodeWriter so
authorWalter Dörwald <walter@livinglogic.de>
Tue, 4 Apr 2006 17:32:49 +0000 (17:32 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 4 Apr 2006 17:32:49 +0000 (17:32 +0000)
commitf7bc5f94553e3a98c6437862f1b5fa5fefd2e34c
tree2b9186bca41b2f5402f43c874a678bed8b1cfbb3
parentf4d8f390536416c083c687206be8e2687e26c9a3
Change the example classes UnicodeReader and UnicodeWriter so
that they work with all encodings. For UnicodeReader the real
input stream is wrapped in a line iterator that reencodes the
input to UTF-8. For UnicodeWriter the UTF-8 encoded output is
written to a queue for where it is reencoded to the target
encoding and written to the real output stream.
Doc/lib/libcsv.tex