From ff9c0dcecd1314b820bf7d2584990c26c0e28909 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 24 Nov 2014 20:10:49 +0100 Subject: Validate UTF-8 input Invalid UTF-8 byte sequences are replaced with the Unicode replacement character U+FFFD. Fixes #213. --- src/utf8.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/utf8.h') diff --git a/src/utf8.h b/src/utf8.h index 319e39a..7df1573 100644 --- a/src/utf8.h +++ b/src/utf8.h @@ -11,7 +11,6 @@ extern "C" { void utf8proc_case_fold(cmark_strbuf *dest, const uint8_t *str, int len); void utf8proc_encode_char(int32_t uc, cmark_strbuf *buf); int utf8proc_iterate(const uint8_t *str, int str_len, int32_t *dst); -int utf8proc_charlen(const uint8_t *str, int str_len); void utf8proc_detab(cmark_strbuf *dest, const uint8_t *line, size_t size); int utf8proc_is_space(int32_t uc); int utf8proc_is_punctuation(int32_t uc); -- cgit v1.2.3