I'm not so sure it is a bug from nautilus. I found that this problem is linked to the gvim.desktop file in /usr/share/applications which contains a line "Exec=gvim -f %U"
so when opening a file named éléphant.txt with nautilus, the command line used is gvim -f file:///home/bertrand/%C3%A9l%C3%A9phant when using a custom gvim.desktop file with "Exec=gvim -f %f", the command line used by nautilus become gvim -f /home/bertrand/éléphant Thus, as I understand it, seeing the names written in the title bar of the respective gvim windows, : in the first case, gvim correctly translates the % sequences, but then it uses the resulting string as if it were iso-8859-15 encoded. in the second case, gvim correctly interprets the string as utf8. In the same circumstances as the first case, gedit reads the string resulting from the % translations as utf8 encoded. I don't know which behaviour is correct regarding url standards, but nautilus and other gnome applications seem to expect this last behaviour. -- vim-gnome misinterprets non-ascii filenames when opened via nautilus https://launchpad.net/bugs/69267 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
