--- Vadim Gritsenko <[EMAIL PROTECTED]>
wrote:
> Alex Romayev wrote:
>
> >Let me be more specific and also simplify the
> example:
> >
> ...
>
> >Does not work:
> >
> ><xsl:param name="city" select="'����'"/>
> >
>
> Are these funny characters above in UTF-8? Does your
> XSL has
> encoding="UTF-8" on the top?
Yes. Also, note that this only happens to the href
attribute, the value of the <a> element comes out
correctly.
>
>
> >...
> >
> ><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>
> >
>
> What's serializer configuration? Does it have proper
> encoding set?
I'm using the default, i.e., I haven't changed
anything since installation.
>
> Vadim
>
>
>
> >--- 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
> >>
> >>
>
>
>
---------------------------------------------------------------------
> 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]>