Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 22:06:12 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        arch@FreeBSD.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, Jordan Hubbard <jkh@ixsystems.com>
Subject:   Re: [RFC] Set the default locale to en_US.UTF-8
Message-ID:  <20150125190612.GR3698@zxy.spb.ru>
In-Reply-To: <20150125184608.GO81001@ivaldir.etoilebsd.net>
References:  <20150124143357.GI81001@ivaldir.etoilebsd.net> <20150125143243.GB76051@zxy.spb.ru> <7B1D8345-248B-4C44-9568-079BA29614C2@ixsystems.com> <23506.1422204612@critter.freebsd.dk> <20150125184608.GO81001@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 25, 2015 at 07:46:08PM +0100, Baptiste Daroussin wrote:

> On Sun, Jan 25, 2015 at 04:50:12PM +0000, Poul-Henning Kamp wrote:
> > --------
> > In message <7B1D8345-248B-4C44-9568-079BA29614C2@ixsystems.com>, Jordan Hubbard
> >  writes:
> > 
> > The point about vi(1) is that if you happen to open an ISO-8859 file
> > while in UTF-8 mode, change something on the first line, it will
> > happily and almost imperceptively truncate your file at the first
> > non-UTF byte sequence.
> > 
> > Needless to say, that is *not* the expected behaviour.
> > 
> 
> That was the case with old vi not with the vi we have in head at least I'm not
> able to truncate files with actual vi

This is vi from 10. vi from 9 just ignore utf-8 setting and don't
truncate files.



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