aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv_latin.c
diff options
context:
space:
mode:
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 68bdd7d..de5b618 100644
--- a/libcharconv_latin.c
+++ b/libcharconv_latin.c
@@ -496,6 +496,12 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz
/* ocr (telegraphing) */
case UINT32_C(0x2BFF): c1 = 'E'; goto conv1;
+ /* crop marks */
+ case UINT32_C(0x230C): c1 = '|'; c2 = '-'; goto conv2;
+ case UINT32_C(0x230D): c1 = '-'; c2 = '|'; goto conv2;
+ case UINT32_C(0x230E): c1 = '|'; c2 = '_'; goto conv2;
+ case UINT32_C(0x230F): c1 = '_'; c2 = '|'; goto conv2;
+
default:
no_match:
*n += clen;