Developer forum

Forum » Templates » Problem with escape chars

Problem with escape chars

Per Ljung
Reply
Hi!

I check for this value in my xslt-code: 

 xsl:when test="contains(Server.Request.grpname, 'Färger') " and it works. But after I have posted the page the query string parameter 'grpname' turns into F%c3%83%c2%a4rger

and it doesn't work to check for  xsl:when test="contains(Server.Request.grpname, ' F%c3%83%c2%a4rger') ". Is there a way to unescape the parameter 'grpname'?

How can this be solved?

Best regards,
P


Replies

 
Nicolai Høeg Pedersen
Reply
Have you tried setting disable-output-escaping="yes"?
 
Per Ljung
Reply

Yes, but it is the webrowser that does the escaping. But I solved using the id of the group instead.

/Per

 

You must be logged in to post in the forum