From fd2c859d99d48d76139105f0485d8da967c62435 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 26 Jan 2026 16:09:23 +0100 Subject: Add flipping and turning for yijing n-grams, and add invisible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcharconv_latin.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libcharconv_latin.c') diff --git a/libcharconv_latin.c b/libcharconv_latin.c index 2668ab1..5e90e1e 100644 --- a/libcharconv_latin.c +++ b/libcharconv_latin.c @@ -882,6 +882,12 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz /* control characters (conditional characters) */ case UINT32_C(0x00AD): c1 = 'S'; c2 = 'H'; c3 = 'Y'; goto conv3; + /* invisible */ + case UINT32_C(0x2061): c = (uint_least32_t)'('; goto conv; + case UINT32_C(0x2062): c = (uint_least32_t)'*'; goto conv; + case UINT32_C(0x2063): c = (uint_least32_t)'|'; goto conv; + case UINT32_C(0x2064): c = (uint_least32_t)'+'; goto conv; + default: no_match: *n += clen; -- cgit v1.2.3-70-g09d2