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

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