Cyclone Scheme
0.28.0
UTF-8
CYC_UTF8_ACCEPT
Cyc_utf8_count_code_points
Cyc_utf8_encode
Cyc_utf8_encode_char
CYC_UTF8_REJECT
Cyc_utf8_validate
Cyc_utf8_validate_stream
◆
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
s
String to examine
Returns
The number of codepoints found, or -1 if there was an error.
Generated by
1.8.17