Package: nvi
Version: 1.81.6-4
Severity: normal
Tags: l10n

I dislike UTF-8 for various reasons, and always use iso8859-1 encoding.
I just noticed that when I use nvi to edit a file containing non-ASCII
characters and search for them (I tried å, ä and ö) nvi reports that
there are no matches.

For example, if the file contains 'högertå', the search
/tå
fails.

Oddly enough, the search
/t[åä]
works correctly.

This bug is a bit devious: it doesn't cause data corruption, but
it's not an obvious bug when it happens -- you are likely to believe
that there *is* no match (and act accordingly).

nvi 1.79-25 in Debian 4.0 doesn't seem to have this bug.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26.7 (PREEMPT)
Locale: LANG=sv_SE, LC_CTYPE=sv_SE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvi depends on:
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libdb4.2                  4.2.52+dfsg-5  Berkeley v4.2 Database Libraries [
ii  libncursesw5              5.7+20081213-1 shared libraries for terminal hand

Versions of packages nvi recommends:
ii  nvi-doc                       1.81.6-4   4.4BSD re-implementation of vi - d

nvi suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to