Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2823

In case of multilingual content the content type is not taken into account

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.4.x
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      39225

      Description

      When we are developing multilingual websites, even though we set the content-
      type to UTF-8 using the jsp page directive, the encoding defaults to Latin-1.

      The workaround is to set the encoding to UTF-8 in the ActionForm.reset method
      using the

      CODE:
      request.setCharacterEncoding("UTF-8"); method

      Is there a config parameter to force the struts framework to use the content-
      type supplied by the JSP page.

      Kind regards,
      Cliff

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                clifford.dias@atosorigin.com Clifford
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: