Skip to content

gutf8: Add a g_utf8_truncate_middle() function

Peter Eisenmann requested to merge p3732/glib:wip/p3732/truncate-middle into main

Adds a helper to truncate UTF8 strings in the middle, allowing to make them fit certain size constraints.

This function is modeled after similar functionality that has existed since 2008 in nautilus and in eel before that.

Merge request reports