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: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 13 Dec 2016 23:28:59 -1000
Message-ID: <CABkgnnU+f74-KfKQT9CG1oGxCv-XvaZb+6eApXk9zpBNcMGUHg@mail.gmail.com>
To: 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>
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.
Received on Wednesday, 14 December 2016 09:30:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 14 December 2016 09:30:04 UTC