chiark / gitweb /
util, utf8: make ellipsize take multi-byte characters into account
[elogind.git] / src / shared / utf8.c
index 31120af046f1b091caf9253fa6dcae281ff3b369..98b68ef657c076e53f108df96e43aa8762fea79e 100644 (file)
@@ -98,7 +98,7 @@ static int utf8_encoded_expected_len(const char *str) {
 }
 
 /* decode one unicode char */
-static int utf8_encoded_to_unichar(const char *str) {
+int utf8_encoded_to_unichar(const char *str) {
         int unichar;
         int len;
         int i;