Since nobody else has commented yet ... 

I think (but do not know for sure) that the Restlet implementation normally 
decodes and encodes the Authorization header bits using UTF-8. As long as both 
client and server are using UTF-8, you should be able to use any characters you 
like. I do have an account password that contains Þ and à for one of my Restlet 
applications, which works, but that doesn't really prove anything. 

Are you writing a client-side or server-side Restlet? (I'm guessing client-side 
from the error - it originates in the HTTPClient library) Does it work 
successfully with other passwords and just not this one? Any fragmentary code 
you can supply to give a little more context? 

- R 

----- Original Message ----- 
From: "zze-Projet C&C Foundation LECLERC L ext RD-BIZZ-CAE" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Wednesday, August 29, 2007 3:35:26 AM (GMT-0500) America/New_York 
Subject: Password with accent 

Password with accent 


Hello, 

ChallengeResponse challengeResponse = new ChallengeResponse(ChallengeScheme. 
HTTP_BASIC , utilisateur.getEmail() , utilisateur.getPwd()); 

Is it possible to have accents in a Password inside the ChallengeResponse ? 
And if it's possible how encode this password ? 

Actually, when a password contains accents, the user can't connect to the wiki. 
I have this error : <Authentication requested but doAuthentication is disabled> 
and i'm sure to have the good password. 

Thanks. 
  • Password with acce... zze-Projet C&C Foundation LECLERC L ext RD-BIZZ-CAE
    • Re: Password ... Rob Heittman

Reply via email to