Return-Path: <presnick@qti.qualcomm.com>
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 22AA51A1C05
 for <precis@ietfa.amsl.com>; Wed, 11 Feb 2015 13:33:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.011
X-Spam-Level: 
X-Spam-Status: No, score=-7.011 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001,
 T_RP_MATCHES_RCVD=-0.01] 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 JQNSipkVTVM3 for <precis@ietfa.amsl.com>;
 Wed, 11 Feb 2015 13:33:19 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com
 [199.106.114.251])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 09F611A1A04
 for <precis@ietf.org>; Wed, 11 Feb 2015 13:33:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple;
 d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt;
 s=qcdkim; t=1423690399; x=1455226399;
 h=message-id:date:from:mime-version:to:cc:subject:
 references:in-reply-to:content-transfer-encoding;
 bh=zPcgIjM2DJi46Bg99GvOnj6EyfEAk/ZiHrvsenB2tA0=;
 b=pAA78x7VyNnRooZq/NVeClkbnENjuySXta8eGZIcL3COYW2aktk/hUUf
 cUTce360/U6skgicNlgrNoCfzUCgLqt7fDikIT900FyZzjipyF0XcHlxe
 L+Q7hUPsfqXw0K5TCOyY9fihmimyjLN9Ab31Wl5zcYLD2yN8+LEMNMDCb I=;
X-IronPort-AV: E=McAfee;i="5600,1067,7709"; a="195107378"
Received: from ironmsg03-r.qualcomm.com ([172.30.46.17])
 by wolverine02.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA;
 11 Feb 2015 13:33:18 -0800
X-IronPort-AV: E=Sophos;i="5.09,560,1418112000"; d="scan'208";a="849625123"
Received: from nasanexm01f.na.qualcomm.com ([10.85.0.32])
 by Ironmsg03-R.qualcomm.com with ESMTP/TLS/RC4-SHA; 11 Feb 2015 13:33:18 -0800
Received: from resnick2.qualcomm.com (10.80.80.8) by
 NASANEXM01F.na.qualcomm.com (10.85.0.32) with Microsoft SMTP Server (TLS) id
 15.0.995.29; Wed, 11 Feb 2015 13:33:17 -0800
Message-ID: <54DBCA9B.3050900@qti.qualcomm.com>
Date: Wed, 11 Feb 2015 15:33:15 -0600
From: Pete Resnick <presnick@qti.qualcomm.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-US;
 rv:1.9.1.9) Gecko/20100630 Eudora/3.0.4
MIME-Version: 1.0
To: Peter Saint-Andre - &yet <peter@andyet.net>
References: <13AD33F4-1741-472E-8423-1B0302734325@frobbit.se>
 <54851FAD.4040009@andyet.net> <54D8EC54.8020203@qti.qualcomm.com>
 <54D8F98F.4050309@andyet.net> <54D910DC.1080003@andyet.net>
 <54D91BA8.6000705@qti.qualcomm.com> <54D93A77.9060102@andyet.net>
In-Reply-To: <54D93A77.9060102@andyet.net>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.80.80.8]
X-ClientProxiedBy: NASANEXM01D.na.qualcomm.com (10.85.0.84) To
 NASANEXM01F.na.qualcomm.com (10.85.0.32)
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/-iqbBGSn6cWAQ18HT-Ni3Qkl45U>
Cc: precis@ietf.org
Subject: Re: [precis] Directionality rule (Was: Review of current document
 draft-ietf-precis-framework-20)
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: <http://www.ietf.org/mail-archive/web/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: Wed, 11 Feb 2015 21:33:22 -0000

On 2/9/15 4:53 PM, Peter Saint-Andre - &yet wrote:
> On 2/9/15 1:42 PM, Pete Resnick wrote:
>
>> But give me a bit to chat with Klensin and we'll see if we can come 
>> up with sanity.
>
> I agree that the Bidi Rule from RFC 5893 is designed for use with DNS 
> labels, and that it's not a perfect fit for PRECIS strings. But it 
> might be the best we can do right now.

OK, here is some text that I worked on with John. We think this has the 
desirable properties that it is both as close to correct as we're going 
to get *and* what the WG intended. This is meant to be a replacement for 
all of the text in 5.2.5:

    The directionality rule of a profile specifies how to treat strings
    containing what are often called "right-to-left" (RTL) characters.
    RTL characters come from scripts that are normally written from right
    to left and are considered by Unicode to, themselves, have right to
    left directionality. Strings containing RTL characters often also
    contain "left-to-right" (LTR) characters, such as numerals, as well
    as characters without directional properties.  Consequently, such
    strings are known as "bidirectional strings".  Using bidirectional
    strings in different layout contexts may yield display results that,
    while predictable to those who understand the display rules, may be
    counter-intuitive to casual users. Therefore some profiles may wish
    to restrict their use by specifying a directionality rule.

    The PRECIS framework does not directly address how to deal with
    bidirectional strings, since there is currently no widely accepted
    and implemented solution for the safe display of arbitrary
    bidirectional strings beyond the general Unicode bidirectional
    specification [UAX9]. Rules for management and display of
    bidirectional strings have been defined for domain name labels and
    similar identifiers in the "Bidi Rule" from [RFC5893]. If a profile
    really needs to specify a directionality rule, unless a great deal of
    careful research into the problems of displaying bidirectional text
    is done (which is outside of the scope of this framework), this
    document generally recommends using the  "Bidi Rule" from [RFC5893]
    for profiles based on IdentifierClass, and for profiles based on
    FreeformClass or other situations in which IdentifierClass is not
    appropriate, that consideration be given to using UAX #9 directly.

What do you think?

pr

-- 
Pete Resnick<http://www.qualcomm.com/~presnick/>
Qualcomm Technologies, Inc. - +1 (858)651-4478

