On Mai 29 2020, Yuan Cao wrote:

> It just feels strange because the order does not reflect the order of the
> characters in the file.

But that's not true.  It reflects exactly how 2-byte numbers are stored
in memory on your system.  If you want to make a connection with
characters, you need to think about UCS-2 characters.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



Reply via email to