[hunchentoot-devel] Encoding problem

Hans Hübner hans.huebner at gmail.com
Thu Oct 7 12:23:07 UTC 2010


Hi Nicolas,

On Thu, Oct 7, 2010 at 13:35, Nicolas Neuss <neuss at kit.edu> wrote:
> I am trying to make Shibboleth authentification work for an application
> of mine.  For this I am using the Apache2 Shibboleth module (my server
> sits behind Apache).  Everything works fine, but for one thing.  The
> authentification data is passed in the headers section in UTF-8 format
> (probably).

Before going into any depth on this, can you have a look at the
headers and find out in what character set they are encoded?  HTTP
headers must be encoded as ISO-8859-1.  If a client wants to send data
in different encoding, quoted-printable encoding as described in RFC
2047 must be used.

Thus, it would be a client error if you saw UTF-8 encoded data in
headers.  If the data is properly encoded using RFC 2047 rules, the
behavior that you see would be a bug.

-Hans




More information about the Tbnl-devel mailing list