On Wednesday 18 September 2002 13:53, Alex Romayev wrote: > Let me be more specific and also simplify the example: > > Works: > > <xsl:param name="city" select="'Delhi'"/> > > ... > > <a href="city-detail="$city"><xsl:value-of > select="$city"/></a> > > After transformation I get: > <a href="city-detail=Delhi">Delhi</a> > > Does not work: > > <xsl:param name="city" select="'Дели'"/> > > ... > > <a href="city-detail="$city"><xsl:value-of > select="$city"/></a> > > After transformation I get: > <a > href="city-detail=%D0%94%D0%B5%D0%BB%D0%B8">Дели</a> > > --- Alex Romayev <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I'm having what seems to be an encoding problem -- > > not > > sure it's related to Cocoon, but... ;) > > > > <xsl:for-each select="//city-name"> > > <a href="city-detail?city-name={.}"><xsl:value-of > > select="."/></a><br/> > > </xsl:for-each> > > > > All my xml is UTF-8, it work in English, but not in > > Russian. Any ideas? > > > > Thanks, > > -Alex
Try to use this configuration for you HTML serializer: <map:serializer logger="sitemap.serializer.html" mime-type="text/html" name="html" pool-grow="4" pool-max="32" pool-min="4" src="org.apache.cocoon.serialization.HTMLSerializer"> <buffer-size>1024</buffer-size> <encoding>UTF-8</encoding> </map:serializer> But maybe problem coused by your xslt's or xsp's (but i'm not sure), try to use <?xml version="1.0" encoding="UTF-8"?> for all your xml files. Hope it helps. Regards! Ivan Luzyanin. --------------------------------------------------------------------- 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]>