Bug#474609: Vim's filemanager can't handle UTF-8 characters in pathnames
Teemu Likonen
tlikonen at iki.fi
Sun Apr 6 17:53:36 UTC 2008
Package: vim
Version: 1:7.1.285-1
Severity: normal
Vim's filemanager is unable to handle pathnames which contain UTF-8
characters. Entering to such directory messes up the filelist and the
path understood by Vim. To reproduce:
$ mkdir test-ä # "ä" is UTF-8 encoded
$ touch test-ä/file.txt
$ vim . # i.e. start editing current dir; filemanager is started
You can see the directory name "test-ä" correctly. Now enter to that
directory by pressing Enter key. You'll this kind of filelist:
<a4>/../
<a4>/./
<a4>/file.txt
(Note that UTF-8 encoded "ä" consists of bytes 0xc3 and 0xa4.)
Move the cursor to "file.txt" and press Enter and you'll start editing
the file "test-ä/<a4>/file.txt" which is obviously wrong.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-6-k7 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages vim depends on:
ii libacl1 2.2.45-1 Access control list shared library
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libgpmg1 1.20.3~pre3-3 General Purpose Mouse - shared lib
ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand
ii vim-common 1:7.1.285-1 Vi IMproved - Common files
ii vim-runtime 1:7.1.285-1 Vi IMproved - Runtime files
vim recommends no packages.
-- no debconf information
More information about the pkg-vim-maintainers
mailing list