UnicodeDecodeError issue
Steven D'Aprano
steve at pearwood.info
Thu Sep 5 01:28:07 EDT 2013
On Thu, 05 Sep 2013 13:59:17 +1000, Chris Angelico wrote:
> On Thu, Sep 5, 2013 at 1:07 PM, Steven D'Aprano <steve at pearwood.info>
> wrote:
>> Technically, it's not ASCII, since ASCII only knows about bytes \x00
>> through \x7F (decimal 0 through 127). That's why it isn't correct to
>> describe Python bytes strings as "ASCII strings". They're byte strings
>> that happen to be displayed as ASCII-plus-other-stuff.
>
> The line of code is itself entirely ASCII.
......^^^^^^^^^^^^^^^^^^^^^^
Ah, so it is. Sorry, I got confused about what was being spoken about.
Apologies to Dave for casting aspersions on his knowledge :-)
--
Steven
More information about the Python-list
mailing list