Escaping characters in URL
Posted: Fri Mar 26, 2010 5:46 pm
I have the following form:
It's for searching images in a gallery.But when I enter for example 'äõ', since it sends it to the same page, I get the URL index.php?keyword=äõ. When I select the URL and hit enter, then the URL changes to index.php?keyword=%E4%F5.
I want it to be like index.php?keyword=%E4%F5 the first time I enter 'äõ' and click the search button.
Thanks.
Code: Select all
<form action="?" method="get">
<fieldset>
<input type="text" name="keyword" />
<input type="submit" value="Search" id="search" />
</fieldset>
</form>
I want it to be like index.php?keyword=%E4%F5 the first time I enter 'äõ' and click the search button.
Thanks.