ICEfaces
  1. ICEfaces
  2. ICE-6287

iso-8859-1 chars become UTF-8 in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Beta2
    • Fix Version/s: 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE8
    • Affects:
      Compatibility/Configuration
    • Workaround Description:
      Do not include the xml declaration in your page.

      Description

      When adding <?xml version="1.0" encoding="ISO-8859-1"?> to the top of an xhtml page, iso-8859-1 characters become UTF-8. This appears to only be an issue on IE (tested with IE8). For example, I see the following:

      - FF 3.6:

      Input: åäöÅÄÖ
      Backing bean value: åäöÅÄÖ

      - IE8:

      Input: åäöÅÄÖ
      Backing bean value: å�ö���

        Issue Links

          Activity

          Hide
          Tyler Johnson added a comment -

          Test case attached. Characters used to reproduce: åäöÅÄÖ

          Show
          Tyler Johnson added a comment - Test case attached. Characters used to reproduce: åäöÅÄÖ
          Hide
          Deryk Sinotte added a comment -

          I modified a simple test case to do the same thing as the originally attached case except I also included an outputText field that echoes the submitted value. I then ran the test app .war to see the behaviour in a number of different browsers. Screen shot is attached.

          FF and Safari seem to hold and display the value no matter what.

          Chrome holds the value that was originally input but mangles the output.

          IE mangles both the input and output.

          Show
          Deryk Sinotte added a comment - I modified a simple test case to do the same thing as the originally attached case except I also included an outputText field that echoes the submitted value. I then ran the test app .war to see the behaviour in a number of different browsers. Screen shot is attached. FF and Safari seem to hold and display the value no matter what. Chrome holds the value that was originally input but mangles the output. IE mangles both the input and output.

            People

            • Assignee:
              Tyler Johnson
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: