Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64866 > unrolled thread

EncodedFile/StreamRecoder

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2014-01-27 14:38 +0000
Last post2014-01-27 14:38 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  EncodedFile/StreamRecoder Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-27 14:38 +0000

#64866 — EncodedFile/StreamRecoder

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2014-01-27 14:38 +0000
SubjectEncodedFile/StreamRecoder
Message-ID<mailman.6043.1390833609.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web