aboutsummaryrefslogtreecommitdiff
path: root/src/utf8.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-08-02 03:59:14 +0000
committercorvid <corvid@lavabit.com>2009-08-02 03:59:14 +0000
commit9208c861e0b2c2772f2291376f5632a4d5de6c02 (patch)
tree35261ff2cc862f8bc77501c8a828bc245a0c09dc /src/utf8.hh
parent1ee0cb3aca76ca7661f5498ea0a73ff3e71ec569 (diff)
treat ideographic characters (Chinese/Japanese) as words
Diffstat (limited to 'src/utf8.hh')
-rw-r--r--src/utf8.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utf8.hh b/src/utf8.hh
index e2f9f9a4..6e2b4169 100644
--- a/src/utf8.hh
+++ b/src/utf8.hh
@@ -19,6 +19,7 @@ uint_t a_Utf8_end_of_char(const char *str, uint_t i);
uint_t a_Utf8_decode(const char*, const char* end, int* len);
int a_Utf8_encode(unsigned int ucs, char *buf);
int a_Utf8_test(const char* src, unsigned int srclen);
+bool_t a_Utf8_ideographic(const char *s, const char *end, int *len);
#ifdef __cplusplus
}