UTF-8 question from Dive into Python 3

Tim Harig usernet at ilthio.net
Wed Jan 19 10:42:54 EST 2011


On 2011-01-19, Adam Skutt <askutt at gmail.com> wrote:
> On Jan 19, 9:00 am, Tim Harig <user... at ilthio.net> wrote:
>> That is why I say that byte streams are essentially big endian.  It is
>> all a matter of how you look at it.
>
> It is nothing of the sort.  Some byte streams are in fact, little
> endian: when the bytes are combined into larger objects, the least-
> significant byte in the object comes first.  A lot of industrial/
> embedded stuff has byte streams with LSB leading in the sequence, CAN
> comes to mind as an example.

You are correct.  Point well made.



More information about the Python-list mailing list