Hi Marc,

This is the intended behavior. For query string, you get auto-decoding using a 
Form. 

For other situations (path variables), you can manually use 
Reference.decode(URI) methods.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Marc Portier [mailto:[EMAIL PROTECTED] De la part 
> de Marc Portier
> Envoyé : jeudi 26 juillet 2007 15:20
> À : [email protected]
> Objet : encoding of URI's
> 
> Short question,
> 
> I was testing the sample for Users and Orders recently
> (org.restlet.example.tutorial.Part12)
> 
> When I enter as test URL: 
> http://localhost:8182/users/me/orders/REST-ME-SOME-€
> 
> in the browser, it will transform it to the utf-8 + 
> formencoded version:
> http://localhost:8182/users/me/orders/REST-ME-SOME-%E2%82%AC
> 
> yielding the server to respond with
> Order "REST-ME-SOME-%E2%82%AC" for user "me"
> 
> Which shows that the system hasn't been doing any 
> form-decoding on the 
> URL yet.
> 
> Is this intended like this?
> Should I be setting some configuration to get it done, or do 
> I need to 
> manually convert things?
> 
> regards,
> -marc=

Reply via email to