Attila, Yes you are right. It looks like an illegal display name to me.
You might want to ignore this display name, and continue processing though. Thanks, Neel > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:sip-implementors- > [EMAIL PROTECTED] On Behalf Of Attila Sipos > Sent: Monday, May 14, 2007 10:52 AM > To: [email protected] > Subject: [Sip-implementors] parsing "non-standard" characters in display- > name > > > 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 _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
