summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2006-04-04 17:32:49 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2006-04-04 17:32:49 (GMT)
commitf7bc5f94553e3a98c6437862f1b5fa5fefd2e34c (patch)
tree2b9186bca41b2f5402f43c874a678bed8b1cfbb3 /Lib/test
parentf4d8f390536416c083c687206be8e2687e26c9a3 (diff)
downloadcpython-f7bc5f94553e3a98c6437862f1b5fa5fefd2e34c.zip
cpython-f7bc5f94553e3a98c6437862f1b5fa5fefd2e34c.tar.gz
cpython-f7bc5f94553e3a98c6437862f1b5fa5fefd2e34c.tar.bz2
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.
Diffstat (limited to 'Lib/test')
0 files changed, 0 insertions, 0 deletions