Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 11:41:41 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Gleb Smirnoff <glebius@FreeBSD.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Dmitry Marakasov <amdmi3@FreeBSD.org>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: svn commit: r281129 - head/etc
Message-ID:  <20150406084141.GK23643@zxy.spb.ru>
In-Reply-To: <20150406082553.GW64665@FreeBSD.org>
References:  <201504060132.t361WRVe090234@svn.freebsd.org> <20150406065619.GH74532@zxy.spb.ru> <6A81B952-BA41-4FF2-9215-D7E69EB8C6FE@gmail.com> <20150406071640.GJ23643@zxy.spb.ru> <20150406082553.GW64665@FreeBSD.org>

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

On Mon, Apr 06, 2015 at 11:25:53AM +0300, Gleb Smirnoff wrote:

> On Mon, Apr 06, 2015 at 10:16:40AM +0300, Slawa Olhovchenkov wrote:
> S> On Mon, Apr 06, 2015 at 12:10:40AM -0700, Garrett Cooper wrote:
> S> 
> S> > 
> S> > > On Apr 5, 2015, at 23:56, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
> S> > > 
> S> > >> On Mon, Apr 06, 2015 at 01:32:27AM +0000, Dmitry Marakasov wrote:
> S> > >> 
> S> > >> Author: amdmi3 (ports committer)
> S> > >> Date: Mon Apr  6 01:32:26 2015
> S> > >> New Revision: 281129
> S> > >> URL: https://svnweb.freebsd.org/changeset/base/281129
> S> > >> 
> S> > >> Log:
> S> > >>  Switch russian login class to UTF-8
> S> > > 
> S> > > As discursed before this is may cause data lost.
> S> > 
> S> > Why?
> S> 
> S> Create file in koi8 locale with russian charaters.
> S> Update OS. Now you have utf-8 locale.
> S> Open file in vi.
> S> Save file.
> S> Done. Some data lost.
> S> vi and some other programs (tr and may by other) handle not-utf8 byte secquence in non-safe way.
> 
> Don't save file.

You kidding.
vi may inform you about data lost only postfactum (in case no lines
with koi8 characters currently on screen).


home | help

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