Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0.0, 2.0.0-EE-Beta1, 2.0.1, 2.0.2
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Icefaces 2.0.2
Glassfish 3.0.1 with jsf implementation 2.1.1-b04
jdk 1.6.0_26
Windows 32 bit
Description
When using FileEntry component within a page with encoding that doesn't match platform default character encoding (eg. using utf-8 on windows server with cp1251 as default), ALL the view containing FileEntry is broken.
The reason is:
file: FileEntryPhaseListener;
line: search for "Streams.asString("
Fix:
replace
Streams.asString(item.openStream());
with
Streams.asString(item.openStream(), request.getCharacterEncoding());
The reason is:
file: FileEntryPhaseListener;
line: search for "Streams.asString("
Fix:
replace
Streams.asString(item.openStream());
with
Streams.asString(item.openStream(), request.getCharacterEncoding());
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion