Bug#426243: vim-gui-common: Can't handle unicode filename when open through right-click menu
Ming Hua
minghua at ubuntu.com
Sun May 27 13:15:19 UTC 2007
Package: vim-gui-common
Version: 1:7.1-000+1
Severity: normal
Dear vim maintainers,
It seems when opening a file with the right-click mouse menu, choosing
"Open with 'GVim Text Editor'", gvim can't handle a filename with
non-ascii unicode characters in it. The launched gvim is showing the
filename as some strange characters that look like double-encoded UTF-8
string (I use a UTF-8 locale) and therefore think it's a new file.
I encountered this problem with Chinese file names, but I've tested with
"é.txt" and can reproduce it. Using "gvim <filename>" in X terminal or
":e <filename>" inside already launched gvim can handle these unicode
names without problem.
I think the right click menu is provided by the "Exec=gvim -f %U"
command in /usr/share/applications/gvim.desktop, so I am filing this bug
against vim-gui-common.
Thanks,
Ming
2007.05.27
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
vim-gui-common depends on no packages.
Versions of packages vim-gui-common recommends:
ii vim-gnome 1:7.1-000+1 Vi IMproved - enhanced vi editor -
-- no debconf information
More information about the pkg-vim-maintainers
mailing list