You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aurélien DEHAY <ad...@zorel.org> on 2005/04/09 18:07:24 UTC

Re:[SOLVED] Auth-fw and utf-8 logins

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