Forums / Setup & design / content/search and url encoding

content/search and url encoding

Author Message

Franck Grenier

Friday 26 February 2010 8:00:30 am

Hello,

I'm having troubles with "content/search". The search template displays a $searchText variable which is not encoded correctly. Strange with a original functionality of ezpublish !

The param in the URL seems to be encoded in ISO and my template is in UTF8.

How can I display this text correctly ?

Developer at Open Wide

Franck Grenier

Friday 26 February 2010 8:36:24 am

Found it !

I used "urldecode" in the template.

Developer at Open Wide