[
https://issues.apache.org/struts/browse/WW-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Brown resolved WW-2532.
---------------------------
Resolution: Not A Problem
Assignee: Don Brown
Unfortunately, this is a core Java problem. Java loads resource files in
whatever encoding is native to that OS. Therefore, the only way to ensure the
unicode characters are there will be to encode them yourself. Struts lets
Java's ResourceBundle class handle loading and retrieving message resources.
See http://java.sun.com/developer/technicalArticles/Intl/ResourceBundles/ for
more information.
> I18n using global-messages_xx.properties files in UTF-8 format fails to serve
> them correctly.
> ---------------------------------------------------------------------------------------------
>
> Key: WW-2532
> URL: https://issues.apache.org/struts/browse/WW-2532
> Project: Struts 2
> Issue Type: Bug
> Components: Core Actions, Core Interceptors
> Affects Versions: 2.0.11, 2.0.11.1
> Environment: Tomcat 5.5, Jdk 6.0.3
> Reporter: Daniel Lazaro
> Assignee: Don Brown
> Priority: Critical
>
> I am using global-messages_xx.properties files in UTF-8 format for i18n in
> our website using struts 2. When i use characters that consume more than one
> byte in UTF-8, struts replaces them wrong. I have set the
> struts.i18n.encoding=UTF-8 property in the struts.properties file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.