[OpenID] UTF-8 processing

Tan, William William.Tan at neustar.biz
Wed Apr 11 21:53:45 UTC 2007


Josh Hoyt wrote:
> On 4/11/07, Tan, William <William.Tan at neustar.biz> wrote:
>> "The keys and values permit the full Unicode character set (UCS). When
>> the keys and values need to be converted to/from bytes, they MUST first
>> be represented in the UTF-8 [RFC3629] and then percent encoded 
>> [RFC3986]."
>
> Percent encoding only happens when the message is sent as
> x-www-urlencoded or as query parameters. When using key-value encoding
> from the OpenID specification (e.g. association responses), nothing is
> percent-encoded.
>
> Josh
You're right. Should the content-type returned in association responses 
be tagged as such? I.e. "text/plain; charset=UTF-8"

=wil



More information about the general mailing list