I'm confirming this, and have updated the description. This only happens when the file is opened via nautilus. It may be that this is actually a bug in nautilus, but I do not have enough understanding of what is going on to tell right now. I will look into this further tomorrow.
** Summary changed: - vim-gnome doesn't open non-ascii filenames by double click + vim-gnome misinterprets non-ascii filenames when opened via nautilus ** Description changed: - After upgrade to Edgy I can't open file with non-ascii symbols in path - or filename in my Gnome desktop with my default "GVim Text Editor" - - gvim from vim-gnome package. After double click on file - ~/Desktop/тест.txt in vim status line I see - "~/Desktop/Ñ<82>еÑ<81>Ñ<82>.txt" [New File]. + After upgrade to Edgy, when a file with non-ascii characters in the path + or filename is opened with vim-gnome via nautilus, the filename is + garbled. For example, when opening ~/Desktop/тест.txt, vim opens + "~/Desktop/Ñ<82>еÑ<81>Ñ<82>.txt" instead. This happens across in all + UTF-8 locales tested, most likely all (at least en_US and ru_RU) - Forgot to say: + This does not occur when opening via the command line, only when opening + via nautilus. + version of vim-gnome is 7.0-035+1ubuntu5 - locale settings: - % locale - LANG=ru_RU.UTF-8 - LANGUAGE=ru_RU:ru:en_GB:en - LC_CTYPE="ru_RU.UTF-8" - LC_NUMERIC="ru_RU.UTF-8" - LC_TIME=POSIX - LC_COLLATE="ru_RU.UTF-8" - LC_MONETARY="ru_RU.UTF-8" - LC_MESSAGES=POSIX - LC_PAPER="ru_RU.UTF-8" - LC_NAME="ru_RU.UTF-8" - LC_ADDRESS="ru_RU.UTF-8" - LC_TELEPHONE="ru_RU.UTF-8" - LC_MEASUREMENT="ru_RU.UTF-8" - LC_IDENTIFICATION="ru_RU.UTF-8" - LC_ALL= + + (edited by Constantine Evans) ** Changed in: vim (Ubuntu) Status: Unconfirmed => Confirmed -- vim-gnome misinterprets non-ascii filenames when opened via nautilus https://launchpad.net/bugs/69267 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs