GNOME Bugzilla – Bug 795630
title format string is not utf8-clean
Last modified: 2018-05-24 19:36:28 UTC
gimp_display_shell_format_title() in app/display/gimpdisplayshell-title.c is not utf8-clean, so if you use a Unicode (and non-ASCII) character e.g. after %D, it breaks, only the first byte of the UTF8 character is used for the format and the other bytes are always printed as beautiful garbage. Note, the function calls print() which uses vsnprintf() so it's slightly more than just switching its loop to iterate over characters instead of bytes but moving to vswprintf instead, probably. Not sure if changing print() to be utf8-aware will break anything.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1379.