/* returns the numbers of bytes in the character, -1 on format error  */
int xmlUTF8Size(const xmlChar *utf)
/* returns the numbers of bytes in the character, -1 on format error  */
int xmlUTF8Size(const xmlChar *utf)
{
        if (!(*utf & mask))
            return len;
        len++;
    }
    return -1;
}