Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.1.1
-
None
-
SNAPSHOT version 4.1.1 (tapestry-framework-4.1.1-20060827.214823-24.jar)
Internet Explorer (6.0.2900.2180.xpsp_sp2_gdr.050301-1519)
Firefox (1.5.0.6)
Description
When using encodings like Shift_JIS as the "org.apache.tapestry.output-encoding" configuration, the ajax response will not be rendered correctly in Internet Explorer. Internet Explorer complains about invalid characters (in my case japanese characters), whereas Firefox seems to ignore this and renders the output.
Change in DojoAjaxResponseBuilder.java Line 405 (Method beginResponse()) from UTF-8 to Shift_JIS solved the Problem:
void beginResponse()
{
_writer.printRaw("<?xml version=\"1.0\" encoding=\"Shift_JIS\"?>");