Ni hao Zhu,

>In HttpbasicHelper class, the credentials are decoded as "US-ASCII".

This has been updated to "ISO-8859-1" in rc2 I think (see this thread 
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2463634, 
and the corresponding issue: 
http://restlet.tigris.org/issues/show_bug.cgi?id=1065)

>We have a client who uses UTF-8 encoding before Base64 encoding.
I'm not sure it's a good idea. The way to handle text that contains character 
out of Latin1 character set is explained in RFC2047. And this should be done 
before Base64 encoding.

Having said that and using the current snapshot, if the passord contains only 
latin1 characters, it must work. If the password contains UTF-8 characters that 
are not from latin1, Restlet won't be able to handle the password properly. I 
guess that Firefox won't be able too, but I'm curious to know what happens in 
this case. Could you make a test with Firefox and keep us informed?

Best regards,
Thierry Boileau

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2585558

Reply via email to