Top |
HdyStringUtf8HdyStringUtf8 — GString utf-8 helpers. |
GString * hdy_string_utf8_truncate (GString *string
,gsize len
);
Cut of the end of the string string
so that len
utf8 characters remain.
glong
hdy_string_utf8_len (GString *string
);
Computes the length of the string in utf-8 characters. See g_utf8_strlen.