[RFC] Set the default locale to en_US.UTF-8
Slawa Olhovchenkov
slw at zxy.spb.ru
Sun Jan 25 19:06:17 UTC 2015
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 at 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.
More information about the freebsd-arch
mailing list