MCPcopy Create free account
hub / github.com/commonmark/cmark / encode_unknown

Function encode_unknown

src/utf8.c:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 4, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0};
20
21static void encode_unknown(cmark_strbuf *buf) {
22 static const uint8_t repl[] = {239, 191, 189};
23 cmark_strbuf_put(buf, repl, 3);
24}
25
26static int utf8proc_charlen(const uint8_t *str, bufsize_t str_len) {
27 int length, i;

Callers 3

cmark_utf8proc_checkFunction · 0.85
cmark_utf8proc_case_foldFunction · 0.85

Calls 1

cmark_strbuf_putFunction · 0.85

Tested by

no test coverage detected