Package: moreutils
Version: 0.34
Severity: normal
File: /usr/bin/vidir

I have a UTF-8 system, but occasionally, some filenames will still
be non-UTF-8, e.g.

  touch ü $(echo ü | iconv -t latin1)

If I use vidir on that directory, the tmpfile will be encoded with
latin1, which breaks the UTF-8 symbols. I think it should instead
force the editor to use a UTF-8 encoding (e.g. by running the file
through `iconv -t utf-8` before spawning the editor, because this
would embody the general trend to fade out the non-UTF-8 encodings.
Also, at least vim has ways to deal with "invalid bytes" (e.g.
latin1 characters in UTF-8 documents), but vim cannot identify UTF-8
multibyte characters in non-UTF-8 documents.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages moreutils depends on:
ii  libc6                         2.9-3      GNU C Library: Shared libraries
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

moreutils recommends no packages.

Versions of packages moreutils suggests:
pn  libtime-duration-perl         <none>     (no description available)
ii  libtimedate-perl              1.1600-9   Time and date functions for Perl

-- no debconf information


-- 
 .''`.   martin f. krafft <madd...@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

Reply via email to