Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 68253 invoked from network); 11 Dec 2008 18:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2008 18:14:08 -0000 Received: (qmail 61765 invoked by uid 500); 11 Dec 2008 18:14:20 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 61463 invoked by uid 500); 11 Dec 2008 18:14:20 -0000 Mailing-List: contact dev-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry development" Delivered-To: mailing list dev@tapestry.apache.org Received: (qmail 61452 invoked by uid 500); 11 Dec 2008 18:14:20 -0000 Delivered-To: apmail-jakarta-tapestry-dev@jakarta.apache.org Received: (qmail 61449 invoked by uid 99); 11 Dec 2008 18:14:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 10:14:20 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2008 18:14:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E2A4234C382 for ; Thu, 11 Dec 2008 10:13:44 -0800 (PST) Message-ID: <143112245.1229019224646.JavaMail.jira@brutus> Date: Thu, 11 Dec 2008 10:13:44 -0800 (PST) From: "Franz Amador (JIRA)" To: tapestry-dev@jakarta.apache.org Subject: [jira] Created: (TAP5-412) Ajax response returning JSONArray gets wrong Content-Type, messes up Unicode characters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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