Validates UTF-8 encoded text.
As with g_utf8_validate(), but @max_len must be set, and hence this function will always return %FALSE if any of the bytes of @str are nul.
a pointer to character data
return location for end of valid data
%TRUE if the text was valid UTF-8
2.60
See Implementation
Validates UTF-8 encoded text.
As with g_utf8_validate(), but @max_len must be set, and hence this function will always return %FALSE if any of the bytes of @str are nul.