Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2014 16:55:07 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: nvi fails to when encountering 0xa9 character
Message-ID:  <52D9525B.7000402@gmail.com>
In-Reply-To: <CAN6yY1uS6MZHyaQSiRzXUzsY3wnRJhR-GiUW=DXAVAA1ZRm0kA@mail.gmail.com>
References:  <CAN6yY1uS6MZHyaQSiRzXUzsY3wnRJhR-GiUW=DXAVAA1ZRm0kA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17/01/2014 07:04, Kevin Oberman wrote:
> FreeBSD 10.0-RC5/amd64
>
> When I edit a file containing the 0xa9/copyright/circle-c character. the
> line that the character is on is rendered as ~. It is not editable. It
> can't even e deleted. While nvi will allow stepping to the next line and
> continuing to edit, searching past the line fails and writing out the file
> truncated the file at the line. Unless a backup exists, the remainder of
> the file is lost.Since that character is usually early in the file, most of
> the file is lost. I don't know if other characters also trigger the problem.
>
> Is this a known issue? iconv related? It is VERY annoying! Fortunately I
> did have a backup and I usually use emacs.

Hi,

Unfortunately nvi is really not unicode capable AFAIK. You probably want
to switch to vim or another editor.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D9525B.7000402>