From owner-freebsd-current@FreeBSD.ORG Sat Apr 5 06:07:34 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 236295B9 for ; Sat, 5 Apr 2014 06:07:34 +0000 (UTC) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 977E22C8 for ; Sat, 5 Apr 2014 06:07:33 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id p9so3192074lbv.10 for ; Fri, 04 Apr 2014 23:07:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=2xKKbf58s6aRiiLBkT8E3k10M7syxr/LRRJyLrAbtDY=; b=M+Z4Mxy5lmNcO+2Glo+EBiAVBcukqDFmgid2q74TySz/K2bsaGasX9oDnrO6u6c4LG XxrSYi9IWzbFKsHsVSmEEdBhuvWN+fiY8SkNfw0BSPk9THvNwR/yz1j1yUjpamRPkdUA 2y5viAeoUDsREBTX3I6v/47IUE9icQlwhP34dmOpnoGrRBo46NoWH68v/nSmJdB54ve0 X9coY//LzFn94UITbEkpFIr09TU2c7gaf9NJgt3IQ6R9SbghSHCFNVf3cFxbgcclGK7F +sIlhJ9d72kJiaarWi2m24ITdng9GV0xft9Wg1nq43pWqefUwTaTJc89np+urZt5Sbiw 7nJg== X-Gm-Message-State: ALoCoQm0OgO/c1lOChwM57Od4OFyGq0QpG75VVA+PlufR6dPCxzOxeHn3dnaqokJ6eEk5uGaZmjE X-Received: by 10.152.42.196 with SMTP id q4mr11451141lal.14.1396678051443; Fri, 04 Apr 2014 23:07:31 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by mx.google.com with ESMTPSA id jy5sm9935785lac.9.2014.04.04.23.07.30 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 23:07:30 -0700 (PDT) Message-ID: <533F9DA3.9020901@freebsd.org> Date: Sat, 05 Apr 2014 10:07:31 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: sbruno@freebsd.org Subject: Re: login.conf --> UTF-8 References: <1396457629.2280.2.camel@powernoodle.corp.yahoo.com> <20140402171546.GL44326@FreeBSD.org> <533C8269.7040305@freebsd.org> <20140404124634.GC44326@glebius.int.ru> <533F5DF5.9020803@freebsd.org> <1396665553.2415.0.camel@powernoodle.corp.yahoo.com> <533F7A14.7060403@freebsd.org> In-Reply-To: <533F7A14.7060403@freebsd.org> X-Enigmail-Version: 1.7a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WqlgSiG77op5Fj3s6Ms0t8jaD0qQIaXoJ" Cc: Gleb Smirnoff , i18n@freebsd.org, "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2014 06:07:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WqlgSiG77op5Fj3s6Ms0t8jaD0qQIaXoJ Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Few explanations to clarify maybe non-obvious moments: On 05.04.2014 7:35, Andrey Chernov wrote: >>> big hack and slowing sorting down up to 10 times. Because our search for chains is linear because common single byte table have no more than 2-3 chains. I don't think it worth efforts to optimize search here, because better way to spend them is to implement UCA: >>> http://unicode.org/reports/tr10/ > "No code" situation doesn't mean wrong code can be committed. Since we plan to change defaults from KOI8-R to UTF-8 ("russian" login class), breaking sort order for non-alphabetic chars will violate POLA. Sort order will be broken because only CP1251 is used to construct Alex "chains" collation without merging with KOI8-R table. Merging KOI8-R collation is absolute minimum, but proper hack will be merging CP866 and ISO8859-5 too, as I already mention. --=20 http://ache.vniz.net/ --WqlgSiG77op5Fj3s6Ms0t8jaD0qQIaXoJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlM/naMACgkQVg5YK5ZEdN2PdQCeJA7hyp/U4oThZD+j87q6OGPq SF4AoJXabznOTztYBFRILyDxiSWRwbHQ =dN96 -----END PGP SIGNATURE----- --WqlgSiG77op5Fj3s6Ms0t8jaD0qQIaXoJ--