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

          Tyler Johnson created issue -
          Tyler Johnson made changes -
          Field Original Value New Value
          Summary Backing values converted to UTF-8 in IE iso-8859-1 chars become UTF-8 in IE
          Salesforce Case [5007000000ESh5l]
          Description When adding <?xml version="1.0" encoding="ISO-8859-1"?> to the top of an xhtml page, the resulting backing bean values are converted to 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: å�ö���

          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: å�ö���

          Tyler Johnson made changes -
          Attachment sc9554.war [ 12699 ]
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Affects [Compatibility/Configuration]
          Assignee Priority P2
          Assignee Deryk Sinotte [ deryk.sinotte ]
          Deryk Sinotte made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Deryk Sinotte made changes -
          Attachment chars-in-browsers.png [ 12731 ]
          Ken Fyten made changes -
          Assignee Priority P2 P1
          Assignee Deryk Sinotte [ deryk.sinotte ] Ted Goddard [ ted.goddard ]
          Ken Fyten made changes -
          Assignee Ted Goddard [ ted.goddard ] Tyler Johnson [ tyler.johnson ]
          Ken Fyten made changes -
          Link This issue depends on ICE-6393 [ ICE-6393 ]
          Tyler Johnson made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Priority P1

            People

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

              Dates

              • Created:
                Updated:
                Resolved: