Details
-
Type:
Bug
-
Status: Closed
-
Priority:
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: å�ö���
- FF 3.6:
Input: åäöÅÄÖ
Backing bean value: åäöÅÄÖ
- IE8:
Input: åäöÅÄÖ
Backing bean value: å�ö���
Issue Links
- depends on
-
ICE-6393 Compat components incorrectly escaping certain unicode characters
-
- Closed
-
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.