On Tue, 2005-08-09 at 23:19 -0700, 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 <esql:get-string 
> column="xxxxxx"/> elements)
> between hardcoded XML begin and end tags, forming an XML document.  Although 
> I'm specifying:
> -------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <xsp:page 
>       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 encod
> BBC
> 
> 
>               
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] as: 
> "<?xml version="1.0" encoding="ISO-8859-1" ?>".  
> 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 t
> BBC
> 
> 
>               
> ____________________________________________________
> Start your day with Yahoo! - make it your home page 
> http://www.yahoo.com/r/hs 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED] XSP page itself to ensure 
> that the
> output encoding is UTF-8...
> 
> Thanks

What's your serializer set for?  That's what determines what gets sent
to the client.  The UTF-8 in the source lets the XML parser know how to
read what you have.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to