Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-870

Client UI: Wrong character encoding for some languages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1.0
    • 4.1.0
    • UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • CentOS6.3 x64 with apache cloudstack master branch

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gavinlee Gavin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified