W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2016

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 14 Dec 2016 11:14:41 +0100
To: Martin Thomson <martin.thomson@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Matthew Kerwin <matthew@kerwin.net.au>, 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>
Message-ID: <e3bacab1-91bc-d414-e7a6-62d563358313@gmx.de>
On 2016-12-14 10:28, Martin Thomson wrote:
> On 13 December 2016 at 23:21, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
>>>      "\" %x75 1*4HEXDIG
>>>    / "\" %x55 1*6HEXDIG  ; C99 accepts 1*8
>>
>> The variable length means these run into the mess of "what if the
>> next character is a hex digit?".
>
> I assume that if the next character is a hex digit, you have to
> exhaust the sequence by left padding with 0.  It makes the grammar a
> little harder to parse though.

...and very easy to get wrong.
Received on Wednesday, 14 December 2016 10:16:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 14 December 2016 10:16:47 UTC