aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv_latin.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-25 15:39:50 +0100
committerMattias Andrée <m@maandree.se>2026-01-25 15:39:50 +0100
commit8a72c20e94a6c74b3e2d4580adacbdf75f952146 (patch)
tree7c3b8f8c541d77ad54c6a4c3f3303befe75589a6 /libcharconv_latin.c
parentAdd overlaid (diff)
downloadcharconv-8a72c20e94a6c74b3e2d4580adacbdf75f952146.tar.gz
charconv-8a72c20e94a6c74b3e2d4580adacbdf75f952146.tar.bz2
charconv-8a72c20e94a6c74b3e2d4580adacbdf75f952146.tar.xz
Add joined
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libcharconv_latin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcharconv_latin.c b/libcharconv_latin.c
index ee975e1..a4b9059 100644
--- a/libcharconv_latin.c
+++ b/libcharconv_latin.c
@@ -630,6 +630,12 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz
case UINT32_C(0x203D): c1 = '!'; c2 = '?'; goto conv2;
case UINT32_C(0x2E18): cp1 = UINT32_C(0xBF); cp2 = UINT32_C(0xA1); goto conv2cp;
+ /* joined */
+ case UINT32_C(0x2048): c1 = '?'; c2 = '!'; goto conv2;
+ case UINT32_C(0x2047): c1 = '?'; c2 = '?'; goto conv2;
+ case UINT32_C(0x203C): c1 = '!'; c2 = '!'; goto conv2;
+ case UINT32_C(0x2049): c1 = '!'; c2 = '?'; goto conv2;
+
default:
no_match:
*n += clen;