On 12/09/2010 02:16 PM, Iñaki Baz Castillo wrote:
> 2010/12/9 Kevin P. Fleming<[email protected]>:
>>> Sorry, what I want is to allow such invalid bytes as part of the
>>> Display-Name value in From/Contact header.
>>>
>>>     display-name   =  quoted-string / ( token *( LWS token ) )
>>>     quoted-string  =  DQUOTE *(qdtext / quoted-pair) DQUOTE
>>>     qdtext         =  LWS / %x21 / %x23-5B / %x5D-7E / UTF8-NONASCII
>>>     quoted-pair  =  "\\" (%x00-09 / %x0B-0C / %x0E-7F)
>>
>> I don't see how... the encoding would have to be specified, otherwise
>> you can't determine what it is.
>
> Yes, that's the problem, I don't know which symbols to allow. Perhaps
> the ISO-8859 representation of the non ASCII symbols?

ISO-8859 isn't specific enough; there are 16 subsections of ISO-8859, 
with different encodings. The character you are trying represent has 
different encodings in many of them.

In SMTP there is some sort of syntax that can be used to specify the 
character encoding of the display name portion of a header string... but 
I don't know if that's allowed in SIP or not. Based on the ABNF you've 
posted above it's clearly not allowed.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: [email protected]
Check us out at www.digium.com & www.asterisk.org

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to