@elextr commented on this pull request.
gchar *utils_get_initials(const gchar *name)
{ - gint i = 1, j = 1; - gchar *initials = g_malloc0(5); + GString *initials; + gchar *composed; + gboolean at_bound = TRUE; + gboolean prev_matched = FALSE; + + g_return_val_if_fail(name != NULL, NULL); + + composed = g_utf8_normalize(name, -1, G_NORMALIZE_DEFAULT_COMPOSE);
Oooh, Æsop, there is a name with a ligature, so I guess its possible.
My rule is that if its inconvenient and annoying and inconsistent some natural language will do it!!!