title: php utf-8 problem: UTF-8 is everywhere, but mb_strpos is always ===false. Why?
body: <p>I'm working with Cyrillic Bulgarian strings.</p>
  
  <p>I want to compare <code>$words[$i]</code> (added: <em>$words is an array of strings, $words[$i] is a string</em>) if it contains symbols from <code>$cyrillic_symbols</code>.</p>
  
  <pre><code>$cyrillic_symbols="абвгдежз"; //OK!
  
  $siglesymb=mb_substr($words[$i],9,1,'UTF-8'); //OK! "д" letter received.
  
  echo $siglesymb; //and д displayed in the browser, OK!
  
  echo mb_strpos($cyrillic_symbols,$siglesymb,0,'UTF-8');
  </code></pre>
  
  <p>Nothing is displayed because I think it's <code>== false</code>. I don't understand the reason why.</p>
  
  <pre><code>echo mb_strpos($cyrillic_symbols,"д",0,'UTF-8');
  </code></pre>
  
  <p>The same as above, but the result is not <code>false</code>, but 4 because of fifth position of д in the "абвгдежз".</p>
  
  <p>The total result is: <code>д4</code>. Why?</p>
  
  <p>Why the result is not <code>д44</code>? </p>
  
  <p>Any ideas how to make it <code>д44</code>?</p>