Date: Mon, 6 Apr 2015 10:55:00 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Dmitry Marakasov <amdmi3@FreeBSD.org>, Slawa Olhovchenkov <slw@zxy.spb.ru>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Garrett Cooper <yaneurabeya@gmail.com> Subject: Re: svn commit: r281129 - head/etc Message-ID: <20150406085500.GA56860@ivaldir.etoilebsd.net> In-Reply-To: <20150406084937.GX64665@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> <20150406084141.GK23643@zxy.spb.ru> <20150406084937.GX64665@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 06, 2015 at 11:49:37AM +0300, Gleb Smirnoff wrote: > On Mon, Apr 06, 2015 at 11:41:41AM +0300, Slawa Olhovchenkov wrote: > S> > S> > >> On Mon, Apr 06, 2015 at 01:32:27AM +0000, Dmitry Marakasov w= rote: > S> > S> > >>=20 > S> > S> > >> Author: amdmi3 (ports committer) > S> > S> > >> Date: Mon Apr 6 01:32:26 2015 > S> > S> > >> New Revision: 281129 > S> > S> > >> URL: https://svnweb.freebsd.org/changeset/base/281129 > S> > S> > >>=20 > S> > S> > >> Log: > S> > S> > >> Switch russian login class to UTF-8 > S> > S> > >=20 > S> > S> > > As discursed before this is may cause data lost. > S> > S> >=20 > S> > S> > Why? > S> > S>=20 > S> > S> Create file in koi8 locale with russian charaters. > S> > S> Update OS. Now you have utf-8 locale. > S> > S> Open file in vi. > S> > S> Save file. > S> > S> Done. Some data lost. > S> > S> vi and some other programs (tr and may by other) handle not-utf8 = byte secquence in non-safe way. > S> >=20 > S> > Don't save file. > S>=20 > S> You kidding. > S> vi may inform you about data lost only postfactum (in case no lines > S> with koi8 characters currently on screen). >=20 > No, I'm not. >=20 > You open an application, the application does something weird. Do you usu= ally > select "Save" after that? For example, you open Microsoft Word file in Op= enOffice, > and you see that file is definitely mangled. Do you select "Save"? >=20 > If you do, you are the one to blame. Don't blame application developers. = The > application didn't do implicit save. >=20 He is pointing at a vi bug: See https://lists.freebsd.org/pipermail/freebsd-arch/2015-January/016702.ht= ml Noone seems to have worked on it since :( Best regards, Bapt --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUiSeQACgkQ8kTtMUmk6EzC/QCghIEPjaRil0MW3CYLsVqgGq1S 3FQAn0H8+e5swlONb9rWlcSn4GL/XNST =TbS9 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150406085500.GA56860>