<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"><<a href="mailto:amorris@cardiffmet.ac.uk" target="_blank">amorris@cardiffmet.ac.uk</a>></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'm still getting this issue.<br>
<br>
I've added " AddDefaultCharset utf-8" to the bottom of my httpd.conf file in Apache 2.2.17, and also " URIEncoding="UTF-8"" into the 8080 and 8443 connectors in TomCat6.0'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>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" ><br>
<br>
However, I'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'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>