Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 358 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 358 Bytes

utf8_valid.h

This header file provides functions to validate UTF-8 encoding form according to the specification published by Unicode and ISO/IEC 10646:2011.

bool    utf8_valid(const char *src, size_t len);
bool    utf8_check(const char *src, size_t len, size_t *cursor);
size_t  utf8_maximal_subpart(const char *src, size_t len);