glassfish
  1. glassfish
  2. GLASSFISH-20734

Encoding mappings defined in deployment descriptor file are ignored.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: 4.0_b90
    • Component/s: web_container
    • Labels:
      None
    • Environment:

      Solaris

      Description

      When an encoding mapping is defined in deployment descriptor,

      <locale-encoding-mapping-list>
      <locale-encoding-mapping>
      <locale>ja</locale>
      <encoding>euc-jp</encoding>
      </locale-encoding-mapping>
      <locale-encoding-mapping>
      <locale>zh_CN</locale>
      <encoding>gb18030</encoding>
      </locale-encoding-mapping>
      </locale-encoding-mapping-list>

      call
      response.setLocale(Locale.JAPAN);
      fails to set encoding to euc-jp.

        Activity

        djiao created issue -
        Shing Wai Chan made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Shing Wai Chan made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Shing Wai Chan
            Reporter:
            djiao
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: