I'm looking at a From header where the quoted-string display-name
has some "non-standard" bytes.
the grammar for a quoted-string is:
quoted-string = SWS DQUOTE *(qdtext / quoted-pair ) DQUOTE
qdtext = LWS / %x21 / %x23-5B / %x5D-7E / UTF8-NONASCII
UTF8-NONASCII = %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-Fb 4UTF8-CONT
/ %xFC-FD 5UTF8-CONT
UTF8-CONT = %x80-BF
Looking on an ethernet snooper, the beginning of
the display-name is:
22 cc e1
Now obviously 22 is the open quote ( " ).
Next is cc.
Now, to me, cc is UTF8-NONASCII so next comes 1 UTF8-CONT.
But no, the next byte is e1 which is not a UTF8-CONT.
Is "22 cc e1", the beginning of an illegal display name?
Or where am I going wrong?
Regards,
Attila
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors