struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4060) Japanese Characters in i18n files do not show properly
Date Mon, 29 Apr 2013 08:02:15 GMT

    [ https://issues.apache.org/jira/browse/WW-4060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644334#comment-13644334
] 

Lukasz Lenart commented on WW-4060:
-----------------------------------

Please read about Properties file [1], only ISO-8859-1 is supported, you must encode all your
non-standard characters.

http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html
                
> Japanese Characters in i18n files do not show properly
> ------------------------------------------------------
>
>                 Key: WW-4060
>                 URL: https://issues.apache.org/jira/browse/WW-4060
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.8, 2.3.12, 2.3.14
>         Environment: Linux, MacOs, Java7,Tomcat..
>            Reporter: Joaquin Diez
>
> I got a property file with the translation in Japanese.(in UTF-8 encoding)
> When I try to show the pages in Japanese, the text showed is with strange characters.
> I having analizing the code of the TextProviderSupport and LocalizedTextUtil and it seems
that there are not able to load files in UTF-8 only ISO-8859-1, so I have to recode all the
property file to unicode, so the browers it able to display the japanese characters correctly..
> This is a huge problem, as some js libs.. like HighCharts do not support unicode enconding
to show the japanese chararters..
> so..there is any way to solve this.. or to load de property files as UTF-8??

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message