UTF-8 library

Ashley Yakeley ashley@semantic.org
Thu, 8 Aug 2002 02:35:22 -0700


At 2002-08-08 02:28, Manuel M T Chakravarty wrote:

>ANSI C guarantees that char is 1 byte (more precisely that
>"sizeof (char)" == 1).

That's also what the C++ ARM says (which I have to hand). Unfortunately, 

    "a byte is undefined by the language except in terms of 
    sizeof; sizeof(char) is 1." [sec. 5.3.2]

Maybe ANSI C is different?

-- 
Ashley Yakeley, Seattle WA