Re: Unicode escape sequence | Re: draft-ietf-httpbis-header-structure-00, unicode range

Julian Reschke <julian.reschke@gmx.de> Wed, 14 December 2016 10:51 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F2CE129514 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Dec 2016 02:51:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.797
X-Spam-Level:
X-Spam-Status: No, score=-9.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.896, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 G-J5w45ouB-7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 14 Dec 2016 02:51:12 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6A85129A3E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 14 Dec 2016 02:50:55 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cH76u-0002AE-EB for ietf-http-wg-dist@listhub.w3.org; Wed, 14 Dec 2016 10:48:32 +0000
Resent-Date: Wed, 14 Dec 2016 10:48:32 +0000
Resent-Message-Id: <E1cH76u-0002AE-EB@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <julian.reschke@gmx.de>) id 1cH76m-00028Q-Ts for ietf-http-wg@listhub.w3.org; Wed, 14 Dec 2016 10:48:24 +0000
Received: from mout.gmx.net ([212.227.15.18]) by titan.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <julian.reschke@gmx.de>) id 1cH76f-0001Rq-7n for ietf-http-wg@w3.org; Wed, 14 Dec 2016 10:48:19 +0000
Received: from [192.168.178.20] ([93.217.110.65]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LpKKr-1cmtX40OPd-00f7Zu; Wed, 14 Dec 2016 11:46:35 +0100
To: Alexey Melnikov <alexey.melnikov@isode.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Matthew Kerwin <matthew@kerwin.net.au>
References: <20161213173327.C1F7D1714B@welho-filter2.welho.com> <20161213175419.GA7943@LK-Perkele-V2.elisa-laajakaista.fi> <25434.1481665395@critter.freebsd.dk> <201612140628.uBE6SO3L025885@shell.siilo.fmi.fi> <36792.1481701328@critter.freebsd.dk> <CACweHNDKgWQewZHb=Kz3_2=41M58sY5472Q5OwpqPLxorvkzHQ@mail.gmail.com> <37223.1481707288@critter.freebsd.dk> <3a65ca44-f652-3b14-6d64-46f35b32df57@isode.com> <725824b9-de61-2650-4007-fb5b026bc7a6@gmx.de> <87f1efaf-74c5-f02b-d09e-a721afa86032@isode.com>
Cc: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, Ilari Liusvaara <ilariliusvaara@welho.com>, HTTP working group mailing list <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@varnish-cache.org>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <0cce5fdf-5f1a-4fd3-2e3a-e810a34baccb@gmx.de>
Date: Wed, 14 Dec 2016 11:46:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
MIME-Version: 1.0
In-Reply-To: <87f1efaf-74c5-f02b-d09e-a721afa86032@isode.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:togK3F2Ct6qnuSpxhJA932OPb20bcyC5YGDOMX1xCuK5h0wuPQT nBq99kyOafjbge2X12H2fGE6uCLEIClisbYyG0HSNCYsg1ost2Rj/s6l1hGoixKhTCqrvhy 3jAY9mOnyCbZX6lD5UA2/iIQScTCfXjvyEvIy+7qMnV5CatXldBWJyzVog4R9PpIH/tJCCY YKrKFknsyKpAgNEm/Br0A==
X-UI-Out-Filterresults: notjunk:1;V01:K0:17W2AE2qwJE=:eNvCucUpUwHWUVrcDXFbrQ KhFWUS9o+fDMk5cDUag7rBT4NQic0I83/sdW98Bp/uDwqHv4F4+N+Lz1Z6YPClv2onGWxqrdC EDsV5Tuhis5IhQR8Cz/nBjf6PNGa5P1mV0oIV82Ut4s1l4A/GdUtYhZSt3coOYD1upjoE9vWo +hLYgZWC5DmT3xtSADmimLvI/L4FwhZIcu+lIXorj0jVpuFXWxZRDnJM0rJ7WIuslgzz/8sy7 K9lBZ5LqYZ+ykaCzcQVuwuJcjWhamWrQd+3V87x/xn7XHjqQbD7uUPKabgNQn7/3AYlx+zTmX eSarB0jlZbtbNG7d3THs7tu/Hh2rUJcA4jIqY4mZBWUNKwTDvFHxDl0dOEvego+ANrDW+GUOV SCUCOXPaLUGgbIRcsg+1hCgzT3wTSkF2OsNfnwf8HdYnh+uAh+CtflV9iDgTymFUhxhoq6zgz iMXKq6m8kp//4hJzjASV9NLYugIJufuQb82e5GTU7mcbnMBLZpV0KYBWkt2UddEaQ/N+UAvP9 su7CNGwZZrRQjKrPe7TdIwspT4TnyZPX6Kq20rWChU0ZTgVikbg6FfWOpxXmasWgtePu28F83 o+UNrAK0DWmqSON4pU8K/8olgkkDU1dYwXh2iKQuB9obaUDINvGXiFjaG4ClRMoJObq+P3i0c e2MC9McCq/cUf813U2k3J5HTcXKJSomLYtaP51UE1tJCP2XeU8SdXBLIbtABhwVNQPTfbLrnw XziFuknBoCwKx7HfYfciM1odSICZ7bGBxViBREp4jE3W33FlZoOV0yxJot06UB4xiV4frKomt yA+Dpl8
Received-SPF: pass client-ip=212.227.15.18; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=-0.018, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cH76f-0001Rq-7n 40f3b7e493fce81c71d91558d210aa49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Unicode escape sequence | Re: draft-ietf-httpbis-header-structure-00, unicode range
Archived-At: <http://www.w3.org/mid/0cce5fdf-5f1a-4fd3-2e3a-e810a34baccb@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33189
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 2016-12-14 11:38, Alexey Melnikov wrote:
> ...
>> Has this ever been used in a protocol?
> Some:
> https://datatracker.ietf.org/doc/rfc5137/referencedby/

Actually, one.

> This was also extensively used in other RFCs without referencing the BCP.

Example?

The reason why I'm asking is because the notation

  \u'HHHH' or \u'HHHHHH'

strikes me as:

1) verbose

2) potentially problematic because of the use of the single quote (which 
might require extra escaping in some contexts)

Best regards, Julian

PS: and, as a nit, it's strange that the syntax uses delimiters but 
doesn't allow sequences of 1 to 3 HEXDIGs...