cancel
Showing results for 
Search instead for 
Did you mean: 

URL parameters encoding

rivarola
Champ on-the-rise
Champ on-the-rise
Hello,

The new URL addressability features allows us to access document through URLs like :

/alfresco/download/direct?path=/Company%20Home/My%20Home%20Space/myimage.jpg

But if the document path contains accented characters, like "Espace Invité" in French, it seems the server does not understand utf-8 encoding for the path ("Espace%20Invit%C3%A9") like returned by the encodeURIComponent in JavaScript. Is it normal ?
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
Indeed we support the UTF-8 encoding for URL parameters - but the servlet container also needs support turned on to recognise the newer style of encoding on the URI (otherwise it defaults to ISO-8859-1), see this page on how to make the change:
http://confluence.atlassian.com/display/DOC/Configuring%20Tomcat%27s%20URI%20encoding

Thanks,

Kevin

rivarola
Champ on-the-rise
Champ on-the-rise
Thanks Kevin, it's OK now.  Smiley Happy
I hope all other URL are UTF-8 compliant !