Uploaded image for project: 'SiteMesh'
  1. SiteMesh
  2. MSITEMESH-50

Encoding set on the response is ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.1.1, 1.0.5
    • 1.0
    • None
    • Kromeriz 73
    • 3

      org.sitemesh.webapp.contentfilter.HttpServletResponseBuffer#setContentType sets also the encoding for the inner buffer but the encoding set by info.magnolia.cms.filters.ContentTypeFilter#setupCharacterEncoding is ignored.
      The issue is present in the sitemesh library but since we customise its code anyway, we might provide a fix.
      You can set your default encoding to UTF-8 as a workaround (JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8).

        Acceptance criteria

              rkovarik Roman Kovařík
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1h 20m
                    1h 20m