Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3402

Partial Response Writer always returns an <?xml version='1.0' encoding='utf-8'?> ignoring the response encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.10, 2.1.4
    • None
    • JSR-314
    • None

    Description

      While I was testing different ajax encodings I discovered that the Partial Response writer always returns the header listed on the headline of this issue. It ignores simply the original encoding.
      A blackbox test against Mojarra showed in that exact case the proper encoding not UTF-8 static.
      I guess the fix simply should be to make this part of the partial response writer more dynamic and to fetch
      the encoding in from the request header.

      Attachments

        1. JIRA-MYFACES-3402.patch
          0.8 kB
          Dora Rajappan

        Activity

          People

            lu4242 Leonardo Uribe
            werpu Werner Punz
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: