tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Amador (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-412) Ajax response returning JSONArray gets wrong Content-Type, messes up Unicode characters
Date Thu, 11 Dec 2008 18:13:44 GMT
Ajax response returning JSONArray gets wrong Content-Type, messes up Unicode characters
---------------------------------------------------------------------------------------

                 Key: TAP5-412
                 URL: https://issues.apache.org/jira/browse/TAP5-412
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.17
            Reporter: Franz Amador


An Ajax component event handler that returns a JSONArray gets response Content-Type "application/json;charset=ISO-8859-1",
while returning a JSONObject gets Content-Type "application/json;charset=UTF-8".  This messes
up Unicode characters in data returned as a JSONArray.  The problem appears to result from
the existence of org.apache.tapestry.commons.services.JSONArrayEventResultProcessor, which
handles the response instead of org.apache.tapestry5.internal.services.JSONArrayEventResultProcessor.
 The latter looks correct, but it is apparently being shadowed by the former.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message