Description
When using an encoding like ISO-8859-1 and having the following situation:
message.ftl
...
<@s.text name="Obrigatório - not mapped word in any dictionary" />
...
We have the following output after update 2.5.8:
Obrigat\u00F3rio - not mapped word in any dictionary
After careful look at the source code and issues from the 2.5.8 I found the problem happens just in one added line on WW-4712, the following part of the code:
TextProviderHelper.java
... public static String getText(String key, String defaultMessage, List<Object> args, ValueStack stack, boolean searchStack) { ... //This escape causes the problem msg = StringEscapeUtils.escapeEcmaScript(msg); ... } ...