cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KOZLOV Roman <r-koz...@opencascade.com>
Subject Re: Character encoding problems with XSP/ESQL
Date Thu, 13 Jun 2002 14:42:49 GMT
Hi Andrew,

Did you set <encoding>iso-8859-1</encoding> for serverpages generator also? Do
you
also use some transformers?

Roman

Andrew Savory wrote:

> Hi,
>
> I'm having problems convincing Cocoon to display unusual characters (such
> as smart quotes, apostrophes) properly, despite having tried everything
> suggested on the list in recent weeks to fix this.
>
> My setup:
>
> - Cocoon 2.0.3-dev
> - Tomcat 4.0.1
> - Postgres 7.2
> - Linux
>
> The content is being pulled from the DB via an XSP. The same content
> displays fine when pulled from the DB with perl(!).
>
> I've tried:
>
> Setting encoding in sitemap serializers:
>         <encoding>iso-8859-1</encoding>
>
> Setting encoding in XSP files:
>         <?xml version="1.0" encoding="iso-8859-1"?>
>
> Setting encoding in ESQL:
>         <esql:row-results>
>                 <esql:encoding>iso-8859-1</esql:encoding>
>
> Setting encoding in JDBC connector:
>         <jdbc>
>                 <charset>iso-8859-1</charset>
> and
>         <dburl>jdbc:postgresql://localhost:5432/foo?charset=iso-8859-1</dburl>
>
> Starting Tomcat with $CATALINA_OPTS set to '-Dfile.encoding=ISO8859_1'
>
> ... none of this has worked. I continually get a ? in the output HTML.
>
> HELP!
>
> Andrew.
>
> --
> Andrew Savory                                Email: andrew@luminas.co.uk
> Managing Director                              Tel:  +44 (0)870 741 6658
> Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
> This is not an official statement or order.    Web:    www.luminas.co.uk
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message