Andrew, I helped Michael Mangeng to solve a similar problem a while ago. Well, similar..., it was a pure xsp problem there, no esql. I have no expercience with esql, but I'll add some things you can try, but I don't know it is in fact the same problem :-)
This is what Vadim reported, after Michael posted his solution: " As of Cocoon 2.0.3 (which has some XSP fixes) it should work like this: > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > How to use german umlauts on english *nix systems: > > sitemap.xmap: > Use <encoding>ISO-8859-1</encoding> in the according (e.g. html) > <map:serializer> tag. > > XML/XSP: > Use: <?xml version="1.0" encoding="ISO-8859-1"?> > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- " I don't know which version of Cocoon you're using, but according to Vadim this should work, so try this first. If this doesn't help you (I don't know if Michael eventually tested it this way), take a look at the nice overview of our solution. Michael posted it some days ago, here are the points: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- How to use german umlauts on english *nix systems: Set *nix locale to de_AT (or de_DE): localedef -c -i de_AT -f ISO-8859-1 de_AT Set LANG (system environment var) to de_AT (or de_DE) export LANG='de_AT' Before starting Tomcat set: $CATALINA_OPTS to '-Dfile.encoding=ISO8859_1' sitemap.xmap: Use <encoding>ISO-8859-1</encoding> in the according (e.g. html) <map:serializer> tag. XML/XSP: Use: <?xml version="1.0" encoding="ISO-8859-1"?> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- As you can see, it has someting to do with the locale settings of *nix. It took me some time to figure it out a while ago, but it does make sense, if you consider that xsp's get converted to Java classes on the filesystem. And finally, if this doesn't work either, I think it has to do with the esql part of your problem. For that you'll have to find someone more experienced with esql :-) Hope this helps you any further! Greetz, Jan visit us @ http://www.xume.be -----Original Message----- From: Andrew Savory [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Savory Sent: donderdag 13 juni 2002 20:14 To: [EMAIL PROTECTED] Subject: Re: Character encoding problems with XSP/ESQL On Thu, 13 Jun 2002, KOZLOV Roman wrote: > Hi Andrew, > > Did you set <encoding>iso-8859-1</encoding> for serverpages generator also? Do you > also use some transformers? Yup, set encoding on anything and everything that might affect it. Still not working :-/ Andrew. -- Andrew Savory Email: [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>