Problems with UTF8 encoding in URL

This commit fix problems with UTF8 signs in the URL. I got some
problems with the "snowman workaround" (?utf8=✓)