diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-01-25 18:12:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-01-25 18:12:52 (GMT) |
commit | 61c9454a718b1cf87029833d5fb493e09990dbfe (patch) | |
tree | 2a134c6d8880f17e41f746b7b9d93018995e56b8 /src/common/utf8.h | |
parent | d7a7c0dc3f20664f3e4d6bd7a3caa08bb6511cd9 (diff) |
Handled the MUTF-8 U+0000 code point.
Diffstat (limited to 'src/common/utf8.h')
-rw-r--r-- | src/common/utf8.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/utf8.h b/src/common/utf8.h index 4b8437d..88ebd20 100644 --- a/src/common/utf8.h +++ b/src/common/utf8.h @@ -50,6 +50,9 @@ typedef uint32_t unichar_t; /* Procède à la lecture d'un caractère dans une chaîne en UTF-8. */ unichar_t decode_utf8_char(const unsigned char *, size_t, size_t *); +/* Procède à la lecture d'un caractère d'une chaîne en MUTF-8. */ +unichar_t decode_mutf8_char(const unsigned char *, size_t, size_t *); + #endif /* _COMMON_UTF8_H */ |