[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: When to transmit binary



At 04:41 PM 11/15/00 -0700, Jim Sermersheim wrote:
>Section 4.1.6 in RFC 2251states:
> 
>"A field of type AttributeValue takes on as its value either a string encoding of a AttributeValue data type, or an OCTET STRING containing an encoded binary value, depending on whether the "binary" option is present in the companion AttributeDescription to this AttributeValue."
> 
>We should state, in addition to the case where the binary option is present, that any AttributeValue with a Binary syntax is also encoded as binary. Right?

No.  The binary syntax, like many other syntaxes (e.g. JPEG) provide
a string encoding.  The fact that string encodings may or may
not be restricted UTF-8 characters, per the attribute value data
type description, is irrelevant to the above statement.