@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!!! -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/3846#discussion_r1573251565 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/3846/review/2013072...@github.com>