Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.8
    • Component/s: Plugin - JSON
    • Labels:
      None

      Description

      org.apache.struts2.json.JSONResult uses the configured default encoding (in the struts properties, with the "struts.i18n.encoding" key) when setting the charset part in the response's content type.

      Shouldn't JSONResult.getEncoding() always return UTF-8, similar to the resolution of WW-3059?

      A simple workaround is to override JSONResult.getEncoding() and let it return UTF-8 but it would be preferrable if this was included in the distribution.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Anders Lundberg
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development