Re: [I18nrp] Mappings for IDNA2008 ?

Martin J. Dürst <duerst@it.aoyama.ac.jp> Wed, 13 February 2019 10:31 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 24FB312894E for <i18nrp@ietfa.amsl.com>; Wed, 13 Feb 2019 02:31:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.922
X-Spam-Level:
X-Spam-Status: No, score=-0.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FROM_EXCESS_BASE64=0.979, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=itaoyama.onmicrosoft.com
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 Y5sPnvSbbYjI for <i18nrp@ietfa.amsl.com>; Wed, 13 Feb 2019 02:31:17 -0800 (PST)
Received: from JPN01-OS2-obe.outbound.protection.outlook.com (mail-eopbgr1410094.outbound.protection.outlook.com [40.107.141.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDC821274D0 for <i18nrp@ietf.org>; Wed, 13 Feb 2019 02:31:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector1-it-aoyama-ac-jp; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=npohCLUXD3w6IgPL+5fo2QiG90iWR41oWUZ5mzwjP78=; b=BQco8VW8gupImP5r7p0fBjsb22tRDh+Y5vWbO0tY/Qju+uxzop3e+unuHX+6mXuWuLsE8HJvP42YCMFRrqPMxZ4Bb0qERrKawxIxoFTdWYwl37kADUhh0SLc7K8JKG3a7+iSWzYBNAAFTKn8xH4E/FOQSHFMWREwaz7m4FrDse0=
Received: from TYAPR01MB5149.jpnprd01.prod.outlook.com (20.179.187.18) by TYAPR01MB2141.jpnprd01.prod.outlook.com (52.133.177.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.21; Wed, 13 Feb 2019 10:31:14 +0000
Received: from TYAPR01MB5149.jpnprd01.prod.outlook.com ([fe80::6d0f:10e4:f18d:70e7]) by TYAPR01MB5149.jpnprd01.prod.outlook.com ([fe80::6d0f:10e4:f18d:70e7%3]) with mapi id 15.20.1622.016; Wed, 13 Feb 2019 10:31:14 +0000
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
To: Patrik Fältström <paf@frobbit.se>
CC: "i18nrp@ietf.org" <i18nrp@ietf.org>
Thread-Topic: [I18nrp] Mappings for IDNA2008 ?
Thread-Index: AQHUv4PUGbQc9j/dO0KIwdn0vuyZBKXdYX0AgAAJSQCAAAGYAIAAIxUA
Date: Wed, 13 Feb 2019 10:31:14 +0000
Message-ID: <47f746f8-b314-1263-0925-e049de90856f@it.aoyama.ac.jp>
References: <20190204225047.02583200DC1666@ary.qy> <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> <96242bed-ec65-5955-5a4d-5699b9e3cfb9@it.aoyama.ac.jp> <2207F716-8033-46B7-A750-FB226B870D86@frobbit.se> <ccfd52e0-25b9-b04d-0bcf-701606077296@ix.netcom.com> <EDE1FBF9-CDBA-476A-BB8A-15CFF60EAA06@frobbit.se>
In-Reply-To: <EDE1FBF9-CDBA-476A-BB8A-15CFF60EAA06@frobbit.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: TY2PR01CA0026.jpnprd01.prod.outlook.com (2603:1096:404:ce::14) To TYAPR01MB5149.jpnprd01.prod.outlook.com (2603:1096:404:12e::18)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=duerst@it.aoyama.ac.jp;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [133.2.210.64]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a857f9d5-ddde-4482-87e3-08d6919e611a
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7025125)(7027125)(7023125)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:TYAPR01MB2141;
x-ms-traffictypediagnostic: TYAPR01MB2141:
x-microsoft-antispam-prvs: <TYAPR01MB2141A3E1CECFDDA8210690D6CA660@TYAPR01MB2141.jpnprd01.prod.outlook.com>
x-forefront-prvs: 094700CA91
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(346002)(366004)(396003)(376002)(39840400004)(199004)(189003)(476003)(85202003)(6916009)(11346002)(31686004)(7736002)(316002)(14454004)(106356001)(3846002)(85182001)(6116002)(6512007)(105586002)(446003)(786003)(31696002)(6506007)(26005)(6436002)(386003)(99286004)(52116002)(486006)(2616005)(53546011)(186003)(93886005)(66574012)(229853002)(305945005)(86362001)(102836004)(8936002)(68736007)(76176011)(81166006)(508600001)(25786009)(71190400001)(71200400001)(2906002)(66066001)(6486002)(53936002)(6246003)(81156014)(97736004)(14444005)(4326008)(256004)(8676002)(74482002); DIR:OUT; SFP:1102; SCL:1; SRVR:TYAPR01MB2141; H:TYAPR01MB5149.jpnprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: it.aoyama.ac.jp does not designate permitted sender hosts)
x-microsoft-exchange-diagnostics: 1;TYAPR01MB2141;23:U1EA4Uwa4g0Bh/wMUC7tRCOwo7TWDFJXlkD4dQG6QBTarNKf9RrogbgB3FaDAynbFvVn6nAokNUga8xlHnj6UhOrBJTDgDJu7qJxitmvo7txqxVkSkn/5/THhHEi0gMWDhPG2qE7nO2xAMBYeuQl7+3OO/XHbYh5gtSLvZkZqZgDXrIVBi6SXPtmOiPNvrkhFeJauozZmDZyODdr3ubNLaQwpuRv/Z2yP2gyBOZNsrmThW+9ntFAmvTh564hJV7g4l6SzHyY8Tx9zYEfs6WVdq8vFx+OW68CP1JLr1cJJLXjVS9JikUnRidwpM4nCQZxB3SMM0xosC4Hn5WnBr/oQlGn+Qopb77ounPO9KILMv0/j3mhWXyYjMK2OWD5WdoejKhNRWV7jkYst/YvKiiGLS7I6XRrlDHj7uztxVm9wNi19p++F2MYTKkJKqZ4QompNYGTGi06gD6LXSvlYT9V2DO5AsjUDp6NmAmlLe2s/1A2bzzSDuCAzHqdcxFGHGDlrtHjC0jVQjNx9KrFGaNi2gJ9Uc/+OpLqOOWW4yxdYxdvIS7HJ7/qt/DhV6Vvd1ewgTnf1z6W3naJTqqn/JmzMQPvpSKixVva1YMmHPYmqAh6K5Wb3Klt0jPEraUorl/w1LipTHbA+Hq0qtIQEj5SNKh+zf2kwENy0Vhgcx+Q8+bf9xyAu3ybiEVEplMs0VVqq5VX1rviDDrTe9DnCsKMrbrhrBr4c6paUFNcJZ62rzagbwGuWUCQPn5N9YhtSSv7Aplf6Z0SR/jCUEULKhcQxsBXVXbPsMnbW23pdz2arpbxZApYykHrbMN1Jd8XvQyP8FAPvt7H6NJw/sQhnMjKPU3f1gigFF8lxZbd2nWJP7tE59PcorIY0EeVUWwP4p2aidMwh4/xIzdnV3kzYzNk7fV9WIzxxE6z8l4HX+6QunmjO58Hfv9/qpFyLL/TmX/6YxjEwqKRZFRUJt/o5dV5TK06wi1mxOMigNiuqQPJCxSx5WLlNlCsZUHmXSXMD3LVTLwI7pTJHuvU0sc2eSRwJLa1GSsaPCh5Z6ja1L1lDX4E9XjNUZJPBU7TWJdrhapF0+4+iaiD57ZIAgLsJysLcsNP2C0gjR2qOL6vmCwa5hJSg1rNuON1TzKAByJ5TSsUN6/IOazPQbW6mpeoOTZXVjdHbI1i9beoILCTYpXkwPwZo3OH92qSNeq/qGcSO04o4bFwoXcQvKyckDwR2WRQbnFCL4e3/DmMO7RIibNlIXT1+yAcuesDo4JRK4NhXCc1x0Gn2M7VD0biXH1m39f/T9t6sPayQ0yj9K0SamlmUV+rFcfiYH/2Ej3SKvhFYDqe
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: qBRqFakrckqi83GdCYB4FQVswh8GZ1xDkG67qQro9tivz+xn6JuxJg2wGQtinXFPqANripR8/WjMyfjuE2g4vJkSOHTYj/lsBc49eOm0/8BumD/cYOhaJZBWqMN+L5fSe71D7QUlaVUPoxy6jtJsiBU+PjrnM+JylyJ2KOFYLUOpgOnAVXREBUfLV5QbK1cTh+IVALCsUNRxtKZdpXHbSlfiPpTx2TCbc+bD2YDkJCBzEwPNBuGaAl9rNgeq75DltzQmKOKAINFda7bMVuUDIKM20cXee4Ttqw6COLczBN8wyLxayasPMwj0JOeKCM2tTEtuKyJvs3b87Ac+iXwnBQCxJlYPa0/MAcaMNspjxgzewBWPWh29H2etC9bJmutU5uTze+MmzHPlBZDwboY4qvHxVcyLD2YcJG2uON4qGDs=
Content-Type: text/plain; charset="utf-8"
Content-ID: <CE2C1FE67F4DD040AF2C861741632913@jpnprd01.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-Network-Message-Id: a857f9d5-ddde-4482-87e3-08d6919e611a
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2019 10:31:13.8882 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB2141
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18nrp/3aKcyYxWngWKE5ahG2_YTAPvj2Q>
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: Wed, 13 Feb 2019 10:31:19 -0000

Hello Patrik, others,

On 2019/02/13 17:25, Patrik Fältström wrote:
> 
> 
>> On 13 Feb 2019, at 09:19, Asmus Freytag (c) <asmusf@ix.netcom.com> wrote:
>>
>>> On 2/12/2019 11:46 PM, Patrik Fältström wrote:
>>>
>>>> On 13 Feb 2019, at 08:18, Martin J. Dürst <duerst@it.aoyama.ac.jp> wrote:
>>>>
>>>> If f(x) is the generic mapping, and f'(x) is the mapping of the
>>>> exceptions, then f(f'(x)), which applies f' *before* f, should do the job.
>>> This works in some cases and not in other cases.
>> Examples?
> 
> This is math. :-)
> 
> If f(x)=x’ and in the locale used f(x) should be x and not x’, you have dependencies between f(x) and f’(x) if you want f(f’(x)) to be x’ and f(f”(x)) to be x.

Well, I have to admit that I didn't explicitly talk about that case in 
my 'proof'. For functions in general (e.g. a function such as f(x) = 
(x+7) mod 15), you are right.

But f(x) (the general mapping function) is idempotent (i.e. f(x) = 
f(f(x)), which means that you can map as many times as you want, you 
always get the same result). This is also true for any locale-dependent 
mapping function. If it were not the case, human users would be very 
surprised: a maps to A, but then A maps to a: That wouldn't make any sense.

Also, and even more important, for the general mapping function, if x is 
allowed in IDNs, then f(x) = x. This may not be true for a 
locale-dependent mapping function (i.e. it would be possible for a 
German mapping function to map (Hungarian) ȁ to ä, although that's not 
needed because German keyboards won't produce ȁ in the first place).

So if f(x)=x', that would mean that x is not allowed in IDNs. That would 
mean that it is impossible that in a specific locale, the desired result 
of f(f'(x)) is x. It may be different from x', i.e. y, but we can easily 
get this by defining that f'(x) = y.

So applying the (in most if not all cases very small) locale-specific 
mapping before the general mapping always will work.

Regards,   Martin.