|
On 04/09/2011 22.08, Gregory Bonik wrote:
Lorenzo Donati wrote:IIRC C standard doesn't guarantee that a char is the same size of a byte, although that's almost ubiquitous. So a "char" could be not a "byte" on some exotic platforms.By definition, bytes do not necessarily consist of 8 bits. There can be 7-bit bytes or whatever.
Ok. I stand corrected. Thank you for the feedback. >Thus I think it's OK to equate C's char to a
byte. The word "character" is quite misleading because of the wide use of UTF-8, while "byte" sounds unambiguously. --Gregory
-- Lorenzo