Recently when testing some i18n-support for templating, i realized, that in freemarker-context, a properties-file is read with UTF-8 (see DefaultMessagesImpl#getBundle), but in JSP-context, JSTL expects ISO-8859-1 encoding.
That means: When you want to use the same resource-bundle for both freemarker- and jsp-templates, you have to encode everything the \u1234 -way.
Anyway, since http://jira.magnolia-cms.com/browse/MAGNOLIA-5652 and since new i18n-usage, we don't encode texts in resource-bundles anymore.
By plugging into the JSP i18n handling and delegate resolution into Magnolia code we can ensure both jsp and freemarker are reading the bundles with same encoding.
To do so, we should set a LocalizationContext in javax.servlet.jsp.jstl.core.Config