Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2 (Beta)
    • Component/s: Web interface
    • Labels:
      None
    • Complexity:
      Intermediate
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      I translated the resource file to Simplified Chinese, and add a filter to set the response encoding as UTF-8 for the multi-bytes support.

        Issue Links

          Activity

          Hide
          Jose Morales Martinez added a comment -

          I think you can use Spring CharacterEncodingFilter in web.xml. It's clearer.

          I'm translating continuum to spanish and I need a UTF-8 filter for menu strings too.

          <filter>
          <filter-name>encodingFilter</filter-name>
          <filter-class> org.springframework.web.filter.CharacterEncodingFilter</filter-class>
          <init-param>
          <param-name>encoding</param-name>
          <param-value>UTF-8</param-value>
          </init-param>
          <init-param>
          <param-name>forceEncoding</param-name>
          <param-value>true</param-value>
          </init-param>
          </filter>

          <filter-mapping>
          <filter-name>encodingFilter</filter-name>
          <url-pattern>/*</url-pattern>
          </filter-mapping>

          Show
          Jose Morales Martinez added a comment - I think you can use Spring CharacterEncodingFilter in web.xml. It's clearer. I'm translating continuum to spanish and I need a UTF-8 filter for menu strings too. <filter> <filter-name>encodingFilter</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>forceEncoding</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>encodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
          Hide
          zhoushuqun added a comment -

          I agree with you.

          Show
          zhoushuqun added a comment - I agree with you.
          Hide
          Olivier Lamy added a comment -

          fix in rev 739716
          Thanks !

          Show
          Olivier Lamy added a comment - fix in rev 739716 Thanks !

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              zhoushuqun
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: