Re: [precis] Precis Java Implementation

Christian Schudt <christian.schudt@gmx.de> Tue, 22 December 2015 07:46 UTC

Return-Path: <christian.schudt@gmx.de>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8D741A6FF5 for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 23:46:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DaOhhtwR_2Af for <precis@ietfa.amsl.com>; Mon, 21 Dec 2015 23:46:37 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 971101A6FF0 for <precis@ietf.org>; Mon, 21 Dec 2015 23:46:36 -0800 (PST)
Received: from christihudtsmbp.fritz.box ([95.117.202.179]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MFz0E-1Zzg0I2aBC-00EspP; Tue, 22 Dec 2015 08:46:28 +0100
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\))
From: Christian Schudt <christian.schudt@gmx.de>
In-Reply-To: <CAHbk4R+sR2-W+s3j+9FW8+Za_bNE2Zh120froW=C62uiuv2hSQ@mail.gmail.com>
Date: Tue, 22 Dec 2015 08:46:25 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <2ED3EC8F-9693-4F9B-B7C6-C90A08A9ED1F@gmx.de>
References: <3012FFC8-1FAD-4C30-8D85-175F4180BC02@gmx.de> <CAHbk4R+sR2-W+s3j+9FW8+Za_bNE2Zh120froW=C62uiuv2hSQ@mail.gmail.com>
To: Sam Whited <sam@samwhited.com>
X-Mailer: Apple Mail (2.3096.5)
X-Provags-ID: V03:K0:xfaZ31nP+wkmFHK19x5ut0ZLDsPZPO72Y7m5qtOWItyG8kDMzFo TaGlvf68zoSVi+6qFlSSQynKRFiq1Wk8ey0DkrT5yFKgIFGIneKXpCRLWYRTzeM4LPPDG1f hxVjrSfKnMsfvjwg5XipJFd/5Q9sz92RaALpBDoQkDNh1y8XS9w2QZ48SC//0+f0n09tSZe HfIxAPiwmbcPEviP23ONw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:kB4UmOBHOeM=:IOMFauEtGMmMRBtg02VnPr RNZMHBQ0wsQ2p714IZMqdHOIeJ7vZQbNdmEWdn4UisWeDvHN/jNfBg4O0P2OuBr/rkk4d5Jzl 8Tr6F+IdbYxvWM7Uo+lMLbtF1rnI2JkbsKoMx3f/m1+LEGKZOGJjeWG71ELFDMrowsSieNfhW dNxhdpIGGA1yIyI44ZXtKHVM3zfJA8MOcQNh6V165Hf9++7nOzh8LGb8fISlDq5sF/5QfoS8T sgzC5O6WtG+4YqO/9F0qMiEmD9sgSYjqc7zMS+/hvKOccKGq6f1VClxBo/F9JN/TFKfclV4A8 0Ln/epQ/mV+kNj5oGpSOOsXBL+Vty3F33MGMHtbuZ+NDwTDbELMyWwSj7gKcwqExEfyBhoKfi hMH+LDC6wMYebaoNwspwknyWIrxbHOZIF9GnHJwmaPFakAaRL9McothfEq/VZucas5IXXukYK UeuStTZzQQaqXE7cXi2x+hwHEU2ftfFEh9PteaURopWRlJtZZ51hdm6NackPwF9SB9ZXvHcGG cSgjaFlyU4CQQsbFxWmDLnJtYVOT/cj+buWyRg8NffEQC3MwNJiwul0D3VTpUDmD1X9Ogr5o2 sZU+/5uu7Bcadn56xiLeF/iMcshR0C59v96hz1mvJswGDBqKZ3NZA8QO6MiudiMxpdIRkMGTS tzbjB8Ipf3n5EqY3Wxkj9c6Q7BStP/YohuF73AykaUL9aFDRqTHf3V276LRWQkmrkw0er/Kct apX6P48NQ+0ONbZfzkqlDnabcQkWe1lMWe/NbPmddQvgwI2eNQszBfGUuqPfWzd3PNp33LmgR EMaKz1b
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/OSW6P0JaemJHQ93cTo3Xyjzt3yQ>
Cc: Peter Saint-Andre <peter@andyet.com>, precis@ietf.org
Subject: Re: [precis] Precis Java Implementation
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Dec 2015 07:46:38 -0000

> Am 22.12.2015 um 01:50 schrieb Sam Whited <sam@samwhited.com>:
> 
> Another quick note:
> 
> In your case folding
> (https://bitbucket.org/sco0ter/precis/src/ecd82b75f3611dcb37ee0fd8890bfaf02b5caf9f/src/main/java/rocks/xmpp/precis/PrecisProfile.java?at=master&fileviewer=file-view-default#PrecisProfile.java-511),
> shouldn't the locale be left undefined? Or does it specify that US
> should be used as the default somewhere?

I followed the recommendation here:
http://www.w3.org/International/wiki/Case_folding#Recommendations_for_Case_Folding

If left undefined, the system’s default locale is used, which might not be the locale used for the „common case folding“, i.e. the one marked with a „C“ in ftp://ftp.unicode.org/Public/UCD/latest/ucd/CaseFolding.txt. Most prominent example seems to be the special case for the Turkish I.