Functions
utf-8.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int UTF8_validate (int len, const char *data)
 
int UTF8_validateString (const char *string)
 

Function Documentation

int UTF8_validate ( int  len,
const char *  data 
)

Validate a length-delimited string has only UTF-8 characters

Parameters
lenthe length of the string in "data"
datathe bytes to check for valid UTF-8 characters
Returns
1 (true) if the string has only UTF-8 characters, 0 (false) otherwise

Definition at line 129 of file utf-8.c.

int UTF8_validateString ( const char *  string)

Validate a null-terminated string has only UTF-8 characters

Parameters
stringthe string to check for valid UTF-8 characters
Returns
1 (true) if the string has only UTF-8 characters, 0 (false) otherwise

Definition at line 156 of file utf-8.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49