Cyclone Scheme  0.28.0

◆ Cyc_utf8_count_code_points()

int Cyc_utf8_count_code_points ( uint8_t *  s)

Count the number of code points in a string. Based on example code from Bjoern Hoehrmann.

Parameters
sString to examine
Returns
The number of codepoints found, or -1 if there was an error.