From 2f3db9c90706870ab273654ff7e3b63e4b133377 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 27 Sep 2018 17:13:53 +0200 Subject: [PATCH] uft8: add comment, requested by @keszybz --- src/basic/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/utf8.h b/src/basic/utf8.h index 69a816e125..3de798050d 100644 --- a/src/basic/utf8.h +++ b/src/basic/utf8.h @@ -30,7 +30,7 @@ size_t utf16_encode_unichar(char16_t *out, char32_t c); char *utf16_to_utf8(const char16_t *s, size_t length /* bytes! */); char16_t *utf8_to_utf16(const char *s, size_t length); -size_t char16_strlen(const char16_t *s); +size_t char16_strlen(const char16_t *s); /* returns the number of 16bit words in the string (not bytes!) */ int utf8_encoded_valid_unichar(const char *str); int utf8_encoded_to_unichar(const char *str, char32_t *ret_unichar);