gavin lee created CLOUDSTACK-870:
------------------------------------

             Summary: Client UI: Wrong character encoding for some languages
                 Key: CLOUDSTACK-870
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-870
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: UI
    Affects Versions: 4.1.0
         Environment: CentOS6.3 x64 with apache cloudstack master branch
            Reporter: gavin lee
             Fix For: 4.1.0


ACS 4.1 uses maven-jetty-plugin for developer runing management server.
Currently there is character encoding issue for zh_CN, ja and ru_RU, see this 
screen shot when I use Simplified Chinese: http://snag.gy/sGCn6.jpg
I tried add utf-8 for page encoding and charset in both jsp file and pom.xml 
file, but it didn't help.
There is a way to display correct language, for example Simplified Chinese:
1. export LANG=zh_CN.UTF-8
2. mvn -pl :cloud-client-ui jetty:run
3. using native2ascii to convert resource file: native2ascii -encoding UTF-8 
messages_zh_CN.properties.back messages_zh_CN.properties

But the converted resource files are not human recognizable.

There is no issue in ACS 4.0.x, since it use ant to run and tomcat as webapp 
container.



--
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

Reply via email to