Return-Path: Delivered-To: apmail-beehive-dev-archive@www.apache.org Received: (qmail 23485 invoked from network); 16 Dec 2005 20:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Dec 2005 20:59:10 -0000 Received: (qmail 66276 invoked by uid 500); 16 Dec 2005 20:59:09 -0000 Delivered-To: apmail-beehive-dev-archive@beehive.apache.org Received: (qmail 66254 invoked by uid 500); 16 Dec 2005 20:59:09 -0000 Mailing-List: contact dev-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Developers" Delivered-To: mailing list dev@beehive.apache.org Received: (qmail 66243 invoked by uid 99); 16 Dec 2005 20:59:09 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 12:59:09 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id F409C182 for ; Fri, 16 Dec 2005 21:58:47 +0100 (CET) Message-ID: <192112309.1134766727997.JavaMail.jira@ajax.apache.org> Date: Fri, 16 Dec 2005 21:58:47 +0100 (CET) From: "Carlin Rogers (JIRA)" To: dev@beehive.apache.org Subject: [jira] Resolved: (BEEHIVE-1029) Multibyte characters not supported correctly with the retrievePopupOutput for NetUI tag. In-Reply-To: <111281416.1134759285553.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/BEEHIVE-1029?page=all ] Carlin Rogers resolved BEEHIVE-1029: ------------------------------------ Resolution: Fixed Assign To: Alejandro Ramirez (was: Carlin Rogers) Fixed with svn revision 357225. Unfortunately, for now, test this is manually since servlet containers have a different way for setting up the support for default character sets and encoding. The rerpo test and instructions might be best to use. > Multibyte characters not supported correctly with the retrievePopupOutput for NetUI tag. > ---------------------------------------------------------------------------------------- > > Key: BEEHIVE-1029 > URL: http://issues.apache.org/jira/browse/BEEHIVE-1029 > Project: Beehive > Type: Bug > Components: NetUI > Versions: V1, 1.1 > Reporter: Carlin Rogers > Assignee: Alejandro Ramirez > Fix For: 1.1 > Attachments: j1029-repro.zip > > Multibyte characters are not displayed correctly when the retrievePopupOutput NetUI tag is used to configure a popup window and flow. The JavaSrcipt written out to the popup window to close the window and pass the map back to the opener window does not have correctly encoded Strings. > The problem is in the ReturnActionViewRenderer class which writes out the Javascript for the map that is passed back to the opener window. The response.getCharacterEncoding() needs to be set correctly to support the unicode Java String that is to be written out as a value for the map. > The response for the popup window request in this case is strictly JavaScript to pass a map back to the opener window, and then close the popup window. There is now HTML to display to the user. I think it would be OK in this case to call response.setContentType("text/html; charset=UTF-8") setting the response character encoding to "UTF-8" before we begin writing the javascript and map values. -- 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