GNOME Bugzilla – Bug 779430
Sorting throws errors when filenames aren't UTF-8
Last modified: 2017-03-17 17:17:35 UTC
+++ This bug was initially created as a clone of Bug #770695 +++ Bug 770695 started using g_utf8_collate_key_for_filename() to sort filenames inside archives, but that won't work as expected when the filenames aren't UTF-8 (and I expect it to throw a lot of warnings). See also bug 766038, where we probably have problems parsing the output of "unzip" when the filenames aren't UTF-8, and bug 720742 which avoids those callouts (so would likely show the bug I'm reporting with the test case from the other).
libarchive will nicely mangle the filenames into something "UTF-8"-ey. ** (evince-thumbnailer:12539): DEBUG: At header for file 'Dream n\xf846 decembre 1997/Dream n\xf846.txt' ** (evince-thumbnailer:12539): DEBUG: At header for file 'Dream n\xf846 decembre 1997/Page 01.jpg'