TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.60
Validates UTF-8 encoded text.
As with GLib.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.
max_len
FALSE
str
a pointer to character data
TRUE if the text was valid UTF-8
TRUE
2.60
Validates UTF-8 encoded text.
As with GLib.utf8_validate, but
max_lenmust be set, and hence this function will always returnFALSEif any of the bytes ofstrare nul.