diff options
Diffstat (limited to 'src/shared/utf8.h')
-rw-r--r-- | src/shared/utf8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/utf8.h b/src/shared/utf8.h index 6112332a4e..2d9b5f7011 100644 --- a/src/shared/utf8.h +++ b/src/shared/utf8.h @@ -30,7 +30,7 @@ _pure_ static inline bool utf8_is_printable(const char* str, size_t length) { return utf8_is_printable_newline(str, length, true); } -int utf8_encode_unichar(uint16_t c, char *p); +size_t utf8_encode_unichar(char *out_utf8, uint32_t g); char *utf16_to_utf8(const void *s, size_t length); int utf8_encoded_valid_unichar(const char *str); |