Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #64866
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | EncodedFile/StreamRecoder |
| Date | 2014-01-27 14:38 +0000 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6043.1390833609.18130.python-list@python.org> (permalink) |
I'd never heard of these and personally have no use for them, but came across them here http://bugs.python.org/issue20405#msg209430 and thought they might be of use to some of you. Quoting from the message:- "The purpose of EncodedFile/StreamRecoder was to convert an externally used encoding to a standard internal one - mainly to allow programs that didn't want to use Unicode for processing to still benefit from the codecs that come with Python. E.g. the example at the end of codecs.py allows using Latin-1 within the application, while talking to the console using UTF-8." -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
EncodedFile/StreamRecoder Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-27 14:38 +0000
csiph-web