[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41518: Bug in od?
From: |
Andreas Schwab |
Subject: |
bug#41518: Bug in od? |
Date: |
Sat, 30 May 2020 09:36:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) |
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, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."