JCR-2112: Encoding issue met with the unescape method

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