strlen and non latin characters in for loop
<p>I have an HTML form that sends <code>索索索</code> using post to my PHP file.</p>

<p>I tried strlen on it, but it gives me 24 instead of 3 (?!)...and this then breaks my for loop:</p>

<pre><code>$in=$_POST['inn'];
$length=strlen($in)
for ($i=0; $i&lt;$length; $i++) {
$cleanchar=$in[$i];
}
</code></pre>

<p>I want cleanchar as an individual character, like if only one character had been sent down with the POST.</p>

<p>How can I separate each character using PHP?</p>
