URL Parameters with Umlauts (tag:Wörd)

Hi,

I’m building a blog and use tags as described at http://getkirby.com/docs/solutions/blog but URL parameters with umlauts don’t work. For example the URL http://mysite.de/blog/tag:Ümläut will give

param('tag') = '%C3%9Cml%C3%A4ut'

instead of

param('tag') = 'Ümläut'

Filtering pages by tag and showing the current selected tag doesn’t work properly.

Did anyone had this problem too and maybe even a solution?

Bye,
Tobi

The solution should be same as with spaces: urlencoding and decoding.

Thanks, I didn’t thought on searching for a PHP function I only look at the Kriby Docs …

This gives the right characters:

urldecode(param('tag'))
1 Like