You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/02/06 00:57:59 UTC
[jira] Closed: (TAP5-412) Ajax response returning JSONArray gets
wrong Content-Type, messes up Unicode characters
[ https://issues.apache.org/jira/browse/TAP5-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-412.
-------------------------------------
Resolution: Invalid
There is no org.apache.tapestry.commons package ... is this something you are picking up from a third party library?
> 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
> Assignee: Howard M. Lewis Ship
>
> 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.