Re: [I18nrp] Mappings for IDNA2008 ?

Andrew Sullivan <ajs@anvilwalrusden.com> Fri, 08 February 2019 19:55 UTC

Return-Path: <ajs@anvilwalrusden.com>
X-Original-To: i18nrp@ietfa.amsl.com
Delivered-To: i18nrp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62EF0130F84 for <i18nrp@ietfa.amsl.com>; Fri, 8 Feb 2019 11:55:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=yitter.info header.b=SKANQvlJ; dkim=pass (1024-bit key) header.d=yitter.info header.b=CG7ZyujD
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 KvJAP5saix7G for <i18nrp@ietfa.amsl.com>; Fri, 8 Feb 2019 11:55:22 -0800 (PST)
Received: from mx4.yitter.info (mx4.yitter.info [159.203.56.111]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4656130F83 for <i18nrp@ietf.org>; Fri, 8 Feb 2019 11:55:21 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by mx4.yitter.info (Postfix) with ESMTP id A6A42BCBCC for <i18nrp@ietf.org>; Fri, 8 Feb 2019 19:54:50 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yitter.info; s=default; t=1549655690; bh=9uphPD05GZGGe3jR2RrVDoBFI8sjQmXOdExSfyxTr14=; h=Date:From:To:Subject:References:In-Reply-To:From; b=SKANQvlJsOTF50+XSNLxUSLiUzg8H0D0LMfEAmB7dwE1/L7RJrJYLcqk0oczvIAMJ V2NZvfUjYpp54EKPVhZohGk41vuTJLe4/eQrXzC4JVVhvalMJDR/1KyBZnEPGcv8gs kGIFu6Uv+1wLDwWNk2mh8/2pPUVbo5wVw7vD7iME=
X-Virus-Scanned: Debian amavisd-new at crankycanuck.ca
Received: from mx4.yitter.info ([127.0.0.1]) by localhost (mx4.yitter.info [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QyNIqUTHdmH for <i18nrp@ietf.org>; Fri, 8 Feb 2019 19:54:49 +0000 (UTC)
Date: Fri, 08 Feb 2019 14:54:49 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yitter.info; s=default; t=1549655689; bh=9uphPD05GZGGe3jR2RrVDoBFI8sjQmXOdExSfyxTr14=; h=Date:From:To:Subject:References:In-Reply-To:From; b=CG7ZyujDfW8R/Db9gyVR+U/zQXTiTReSZLa77PFM44ntCkwaEICUXRXW1ar2iKYjq xKJXGmq4+lSiovP84fNLX7tvQjK2xKOlmmMiyRPTTG/fi+KoU7XFZvbVv8oAogrhuO Op7N3Qd4XDNf+g6xRUkut65tmB4LqV9qfwp5J7nM=
From: Andrew Sullivan <ajs@anvilwalrusden.com>
To: i18nrp@ietf.org
Message-ID: <20190208195449.lnl7fxsgnohrgt4c@mx4.yitter.info>
References: <6660b7e2-1d5b-6a5d-3d1c-55a757e24843@ix.netcom.com> <ADDA4540-9169-4EE6-B33E-3A0D9EED0BD7@frobbit.se> <16ff0d27-9508-7fdd-bc89-9d6fd47396b1@ix.netcom.com> <D5B49CC8-7AEF-4E81-8774-F3F1F05682E8@frobbit.se> <320f4bc3-17b1-595b-34c7-8f95f69c0f33@ix.netcom.com> <B87C6774-4FF7-4A18-A81D-D0834401C293@frobbit.se> <bc7b727d-f75c-bbba-4f63-ebd1dcd87085@it.aoyama.ac.jp> <A5549B92-9414-4210-A94D-8E53339D3961@frobbit.se> <20190208193829.skaujoeq2xgzwzg7@mx4.yitter.info> <C01DE66F-1BB8-41CE-9574-2C338C38EAA2@frobbit.se>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <C01DE66F-1BB8-41CE-9574-2C338C38EAA2@frobbit.se>
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18nrp/GyI0H_58HCR89B54N27g_cL3xbg>
Subject: Re: [I18nrp] Mappings for IDNA2008 ?
X-BeenThere: i18nrp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Review Procedures <i18nrp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18nrp>, <mailto:i18nrp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18nrp/>
List-Post: <mailto:i18nrp@ietf.org>
List-Help: <mailto:i18nrp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18nrp>, <mailto:i18nrp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Feb 2019 19:55:23 -0000

On Fri, Feb 08, 2019 at 08:47:24PM +0100, Patrik Fältström wrote:
> For example, if I as a user with $LC_CTYPE == sv_SE.UTF-8 do type or view a string of characters, then I am pretty sure I am interested in having case folding and others things mapped according to that LOCALE. But only when/if the input/output should include such mappings. Most of them should probably not have any mappings at all.
>

Yes.  And the way to mess with you is to (e.g.) send you something
that has various foldings or mappings in _your_ locale that are not
the same as the various foldings and mappings in the locale with which
the string was generated.  These are blessedly rare, but they're not
"never", which is John's point upthread about working irregularly vs
working.  This gets even worse when the mappings vary according to
application or whatever, which is _also_ a potential feature of IDNA.

UTS#46 doesn't do anything to help this _either_ because it is no more
able to know the locale-at-identifier-generation time than anything
else is, because that information is simply not carried around with
the identifier.

This problem is, I should note, well understood among network protocol
people, who spent a lot of time talking about it during PRECIS.  But
it keeps coming back up because people keep forgetting that these
protocols are locale-free even if you think you know the locale at
lookup time.

A

-- 
Andrew Sullivan
ajs@anvilwalrusden.com