commit | f7bc5f94553e3a98c6437862f1b5fa5fefd2e34c | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Tue Apr 04 17:32:49 2006 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Tue Apr 04 17:32:49 2006 +0000 |
tree | 2b9186bca41b2f5402f43c874a678bed8b1cfbb3 | |
parent | f4d8f390536416c083c687206be8e2687e26c9a3 [diff] |
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.