
|
If you were logged in you would be able to see more operations.
|
|
|
|
WebWorkUtil creates a response wrapper when doing an include, and the wrapper uses an internal byte buffer to cache written data. The buffer does not use any character encoding, so UTF-8 data written to the stream is broken when the buffer is later written to the actual output writer.
The fix is to use a StringWriter instead of a ByteArrayOutputStream. This will properly handle character data.
|
|
Description
|
WebWorkUtil creates a response wrapper when doing an include, and the wrapper uses an internal byte buffer to cache written data. The buffer does not use any character encoding, so UTF-8 data written to the stream is broken when the buffer is later written to the actual output writer.
The fix is to use a StringWriter instead of a ByteArrayOutputStream. This will properly handle character data. |
Show » |
|