diff options
| author | Mattias Andrée <m@maandree.se> | 2026-01-26 16:09:23 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-01-26 16:09:23 +0100 |
| commit | fd2c859d99d48d76139105f0485d8da967c62435 (patch) | |
| tree | 2cf1603d17599c4c78d524fa2f6681cd0a292d96 /libcharconv_latin.c | |
| parent | Add transformations for crop marks (diff) | |
| download | charconv-fd2c859d99d48d76139105f0485d8da967c62435.tar.gz charconv-fd2c859d99d48d76139105f0485d8da967c62435.tar.bz2 charconv-fd2c859d99d48d76139105f0485d8da967c62435.tar.xz | |
Add flipping and turning for yijing n-grams, and add invisible
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'libcharconv_latin.c')
| -rw-r--r-- | libcharconv_latin.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; |
