php url get chinese characters for search purpose
<p>I am going to use a form to send a keyword to the page itself, via url get, to be applied in a sql statement for keyword search purpose:-</p>

<pre><code>if (isset($_GET['k']))
{
$keyword = $_GET['k'];
$keyword = urldecode($keyword);
}

&lt;form action = "home.php" method="get"&gt;
&lt;input type = "text" name="k" value = "" size = "40"/&gt;
&lt;input type = "submit" value = "search"&gt;
&lt;/form&gt;

$sql = "select * from [phone] where ([name] like '%$keyword%') order by id DESC";
</code></pre>

<p>for english contents, I can get the keyword from URL perfectly; but for chinese characters, although I have applied urldecode to the $_GET value, I still cannot recover the chinese word. Is there any better way for the problem? Thanks!</p>
