On Mon, Sep 5, 2011 at 3:34 PM, Axel Kittenberger<axkibe@gmail.com> wrote:
On Mon, Sep 5, 2011 at 12:25 AM, Josh Simmons<simmons.44@gmail.com> wrote:
and there's no concept of a byte in C.
No. There is. Citing from the C89 Draft:
* Byte --- the unit of data storage in the execution environment
large enough to hold any member of the basic character set of the
execution environment. It shall be possible to express the address of
each individual byte of an object uniquely. A byte is composed of a
contiguous sequence of bits, the number of which is
implementation-defined. The least significant bit is called the
low-order bit; the most significant bit is called the high-order bit.
C99:
byte
addressable unit of data storage large enough to hold any member of
the basic character
set of the execution environment
Both then distinguish between single-byte and multi-byte characters.
I knew that posting without checking my facts would come back to bite me. :)
So to backflip, I agree, I don't like the use of character at all
since it's so heavily loaded with the idea of text and unicode
especially. However maybe octet is a better terminology than byte.