Quoting Peter Kirk <[EMAIL PROTECTED]>:

> OK, as a C function handling wchar_t arrays it is not expected to 
> conform to Unicode. But if it is presented as a function available to 
> users for handling Unicode text, for determining how many characters (as 
> defined by Unicode) are in a string, it should conform to Unicode, 
> including C9.

If a function is presented as a function available to users for handling 
Unicode text then it should do whatever it claims to do.

There are concepts of "code units", "code points", "characters", and "default 
grapheme clusters" in Unicode. Functions which count either of these are 
perfectly conformant with Unicode, as long as the perform their task correctly.

--
Jon Hanna                   | Toys and books
<http://www.hackcraft.net/> | for hospitals:
                            | <http://santa.boards.ie/>

Reply via email to