tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vi: invalid conversion, truncated file
On Tue, 18 May 2010 12:11:17 +0200
Ignatios Souvatzis <is%netbsd.org@localhost> wrote:
> On Sat, May 15, 2010 at 12:39:04PM +0200, Thomas Klausner wrote:
> > Hi!
> >
> > When opening a file in vi in a UTF-8 environment, doing changes and
> > saving-and-quitting, I sometimes open files that are not valid UTF-8
> > files (e.g. iso-8859-1).
> >
> > vi then claims "invalid conversion" and truncates the file at the
> > first invalid character.
>
> Does this happen at reading or writing?
>
> -is
I saw that too, it happens on :w...
--
NetBSD - Simplicity is prerequisite for reliability
Home |
Main Index |
Thread Index |
Old Index