[Python-Dev] Python3 "complexity"
breamoreboy at yahoo.co.uk
Sat Jan 11 00:22:55 CET 2014
On 10/01/2014 22:06, Chris Barker wrote:
> On Fri, Jan 10, 2014 at 6:05 AM, Paul Moore <p.f.moore at gmail.com
> <mailto:p.f.moore at gmail.com>> wrote:
> > Using the 'latin-1' to mean unknown encoding can easily result
> > in Mojibake (unreadable text) entering your application with
> > dangerous effects on your other text data.
> Agreed. The latin-1 suggestion is purely for people who object to
> learning how to handle the encodings in their data more accurately.
> I'm not so sure -- it could be used (abused?) for that, but I'm
> suggesting it be used for mixed ascii-binary data. I don't know that
> there IS a "right" way to do that -- at least not an efficient or easy
> to read and write one.
The correct way is to read the interface specification which tells you
what should be in the data. Or do people not use interface
specifications these days, preferring to guess what they've got instead?
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
More information about the Python-Dev