cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re:[SOLVED] Auth-fw and utf-8 logins
Date Sat, 09 Apr 2005 16:07:24 GMT
Solved.

Had to replace:
String user=<input:get-attribute module="raw-request-param" name="login" as="string"/>;

by 

String user=new String(<input:get-attribute module="raw-request-param" name="login" as="string"/>.getBytes("iso-8859-1"),"utf-8");

in my login.xsp. It seems like somewhere in the auth-fw the characters
are being reencoded or something like that.

-- 
Aurélien DEHAY   http://zorel.org
      http://logicielslibres.info

Mime
View raw message