<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-09 14:46 GMT+02:00 Morris, Andi <span dir="ltr">&lt;<a href="mailto:amorris@cardiffmet.ac.uk" target="_blank">amorris@cardiffmet.ac.uk</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">To bump and old thread, I&#39;m still getting this issue.<br>
<br>
I&#39;ve added &quot; AddDefaultCharset utf-8&quot; to the bottom of my httpd.conf file in Apache 2.2.17, and also &quot; URIEncoding=&quot;UTF-8&quot;&quot; into the 8080 and 8443 connectors in TomCat6.0&#39;s server.xml.<br>

<br>
The server was restarted after the changes were made, however the problem is not resolved.<br>
<br>
I have found <a href="https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthUserPass" target="_blank">https://wiki.shibboleth.net/confluence/display/SHIB2/IdPAuthUserPass</a> which suggests that I can accept these characters by adding the following to my login.jsp and rebuild the package:<br>

&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=iso-8859-1&quot; &gt;<br>
<br>
However, I&#39;m not sure whether this will apply to me, as my username/password login handler in handler.xml is commented out, in favour of ph:RemoteUser and ph:PreviousSession<br>
<br></blockquote><div> </div></div>Then you&#39;re using tomcat managed authentication. There is some encoding problem with the FormAuthenticator. A simple fix would be to force the character encoding, as explained here :<br>
<a href="http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Form_Authenticator_Valve">http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Form_Authenticator_Valve</a><br><br></div><div class="gmail_extra">(see characterEncoding attribute).<br>
<br><br></div></div>