cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Romayev <roma...@yahoo.com>
Subject Re: Encoding problem
Date Wed, 18 Sep 2002 11:16:31 GMT

--- Barbara Post <babs33@ifrance.com> wrote:
> maybe :
> <a href="city-detail="{$city}"><xsl:value-of
> select="$city"/></a>

Sorry, just a typo in my e-mail, I did actually use
{$city}.

> 
> try to use Russian-compatible output encoding rather
> than utf-8 ?

The site is multi-lingual, so I have to use utf-8

> 
> ----- Original Message -----
> From: "Alex Romayev" <romayev@yahoo.com>
> To: <cocoon-users@xml.apache.org>
> Sent: Wednesday, September 18, 2002 12:53 PM
> Subject: Re: Encoding problem
> 
> 
> > 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 <romayev@yahoo.com> 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:
> > > <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>
> >
> 
> 
>
---------------------------------------------------------------------
> 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