You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/12/11 22:57:21 UTC

[jira] Resolved: (TAPESTRY-1090) DojoAjaxResponseBuilder encoding problem with Internet Explorer

     [ http://issues.apache.org/jira/browse/TAPESTRY-1090?page=all ]

Jesse Kuhnert resolved TAPESTRY-1090.
-------------------------------------

    Resolution: Fixed

Fixed, should use the configured output encoding now.

> DojoAjaxResponseBuilder encoding problem with Internet Explorer
> ---------------------------------------------------------------
>
>                 Key: TAPESTRY-1090
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1090
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.1.1
>         Environment: 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)
>            Reporter: Manri Offermann
>             Fix For: 4.1.1
>
>
> 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\"?>");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org