On 11/9/2013 07:42, Wayne Werner wrote: > On Tue, 10 Sep 2013, Ben Finney wrote: >> The sooner we replace the erroneous >> “text is ASCII” in the common wisdom with “text is Unicode”, the >> better. > > I'd actually argue that it's better to replace the common wisdom with > "text is binary data, and we should normally look at that text through > Unicode eyes". A little less catchy, but more accurate ;) > > -W >
"Text is unicode, but text files are binary, and need to be decoded on read, and encoded on write. Most other external textual data is also binary, and similarly need to be converted before use" -- DaveA -- https://mail.python.org/mailman/listinfo/python-list