Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 36723 invoked from network); 10 Aug 2005 07:48:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2005 07:48:23 -0000 Received: (qmail 51346 invoked by uid 500); 10 Aug 2005 07:48:17 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 51305 invoked by uid 500); 10 Aug 2005 07:48:17 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 51292 invoked by uid 99); 10 Aug 2005 07:48:17 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [212.85.125.162] (HELO v07274.home.net.pl) (212.85.125.162) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Aug 2005 00:48:16 -0700 Received: from sj162.internetdsl.tpnet.pl (HELO ?192.168.1.62?) (lgawron.mobilebox@home@80.55.87.162) by matrix15.home.net.pl with SMTP; Wed, 10 Aug 2005 07:47:59 -0000 Message-ID: <42F9B130.8080903@mobilebox.pl> Date: Wed, 10 Aug 2005 09:48:00 +0200 From: Leszek Gawron User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: can't get XSP page output to encode as UTF-8 References: <20050810061911.66897.qmail@web30314.mail.mud.yahoo.com> In-Reply-To: <20050810061911.66897.qmail@web30314.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 BoBo C wrote: > Hi- > I've got an XSP page running under Cocoon 2.1 on a Linux machine that is accessing a MySQL > database. I'm placing the query return values (the elements) > between hardcoded XML begin and end tags, forming an XML document. Although I'm specifying: > ------------------------- > > xmlns:xsp="http://apache.org/xsp" > xmlns:xsp-request="http://apache.org/xsp/request/2.0" > xmlns:esql="http://apache.org/cocoon/SQL/v2" language="java"> > ------------------------- > at the top of the XSP page, the output it produces is encoded as: > "". > I need it to be UTF-8. The output is intended to be an XML file for further transformation in the > pipeline. I can't figure out where in sitemap.xmap or in the XSP page itself to ensure that the > output encoding is UTF-8... this will not be a problem while transforming. your serializer is set to iso-8859-1. Declare your xml serializer like this: UTF-8 -- Leszek Gawron lgawron@mobilebox.pl IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org