parameters: (utf)
return_statement: return ret
docstring: Checks @utf for being valid UTF-8. @utf is assumed to be
        null-terminated. This function is not super-strict, as it
        will allow longer UTF-8 sequences than necessary. Note that
        Java is capable of producing these sequences if provoked.
        Also note, this routine checks for the 4-byte maximum size,
         but does not check for 0x10ffff maximum value.
docstring_summary: Checks
docstring_tokens: Checks
function: def checkUTF8(utf):
      """Checks @utf for being valid UTF-8. @utf is assumed to be
        null-terminated. This function is not super-strict, as it
        will allow longer UTF-8 sequences than necessary. Note that
        Java is capable of producing these sequences if provoked.
        Also note, this routine checks for the 4-byte maximum size,
         but does not check for 0x10ffff maximum value. """
      ret = libxml2mod.xmlCheckUTF8(utf)
      return ret
function_tokens: def checkUTF8 ( utf ) : ret = libxml2mod . xmlCheckUTF8 ( utf ) return ret