GNOME Bugzilla – Bug 778542
Use UTF-8 encoding for tooltips on files in the "recently used" list
Last modified: 2017-02-15 21:11:35 UTC
Created attachment 345594 [details] [review] Use UTF-8 encoding for tooltips on files in the "recently used" list g_file_get_path() returns the local pathname and it is entirely possible that this pathname isn't in UTF-8 encoding, but in a different one defined by G_FILENAME_ENCODING. Using a string in GLib file name encoding rather than UTF-8 encoding as tooltip text will produce an erroneous output. Use the parse name instead. This is a UTF-8 string that describes the file suitable for use in the user interface.
Review of attachment 345594 [details] [review]: looks right
Attachment 345594 [details] pushed as c9aadab - Use UTF-8 encoding for tooltips on files in the "recently used" list