AnsweredAssumed Answered

Accents in myspaces webscript

Question asked by dgenard on Oct 8, 2007
Hello,

it seems that the myspaces dashboard doesn't support accents correclty.
If a space name contains an accent, it cannot be browsed successfully.

Some debugging reveals that the function produced by the template  clienturlfunction method may produce incorrect results. An é character is translated to %uFFFD, which causes such errors

java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "uF" 
at java.net.URLDecoder.decode(URLDecoder.java:173)
at org.alfresco.web.scripts.jsf.UIWebScript.decode(UIWebScript.java:154)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:609)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
at javax.faces.component.UIForm.processDecodes(UIForm.java:56)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:605)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:138)


Experienced with Alfresco 2.1.0 Enterprise
Any idea on how to fix this problem ?

Denis

Outcomes