How to encode URLs containing Unicode? I would like to pass it to a command line utility and I need to encode it first.
<form action="index.php" method="get" >
<input type="text" name="find" value="عربي" /><br />
<input type="submit" value="search" />
<form />
Example: http://localhost/index.php?find=عربي
عربيas a parameter value but don’t know how to convert it into%DA%D1%C8%ED, right?