Skip to content

chansen/c-utf8-valid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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);

About

Single-header UTF-8 validation routines for C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages