Skarmander said:
[...]
But, for completeness, not less. And see below -- a char *may* be
two bytes, depending on how you define "byte". (How the OP defines
it is anyone's guess.)
No, it may not, not in C and not among actually literate computer
professionals.
If a char contains more than 8 bits, it is certainly larger than on
"octet", and may indeed be two or even four "octets" in size.
But it is still one byte in C, by definition.
If you are not talking C, feel free to go elsewhere.
I'm going to assume you did actually *read* the part I referred to
with "see below", and you so deftly eliminated from context. Which can
only mean you got so enraged at my audacity to dare talk about "byte"
in the non C way that you didn't bother to address the point it made.
The question of my literacy I'll leave for another day.
Jeez. "Thank you, sir, may I have another?"
Without commenting on whether Jack was overly harsh, I'll offer some
advice.
In this newsgroup, the unqualified word "byte" *always* refers to the
term as defined by the C standard. If you want to talk about
something else that's called a "byte" in some other context, it would
be an excellent idea to qualify the term.
For example, a system may define the term "byte" differently than the
way C uses the term. A C char is always exactly one C byte, but it
might consist of two or more "system bytes", or a "system byte" might
consist of two or more C bytes.