JCR-2114: Encoding issue met with the unescape method

https://jira.exoplatform.org/browse/JCR-2114