title: Issue with Spanish string encoding
body: <p>I need help on changing the codification of a string copied and pasted from clipboard... </p>
  
  <p>The curious string is "español":</p>
  
  <pre><code>$problematicString = "español"; //copied and pasted from a filename
  $okString          = "español"; //typed
  
  echo md5($problematicString)."&lt;br&gt;";
  echo md5($okString)."&lt;br&gt;";
  </code></pre>
  
  <p>This is the output:</p>
  
  <pre><code>c9ae1d88242473e112ede8df2bdd6802
  5d971adb0ba260af6a126a2ade4dd133
  </code></pre>
  
  <p>Why are the <code>md5()</code> outputs different for the same strings?</p>
  
  <p>I've tried changing both strings using: <code>mb_convert_encoding($string, "ISO-8859-1", "UTF-8")</code> but the output is still different.</p>
  
  <p><strong>i need to fix the problematicString programmatically so that it shows the same hash as the other string</strong></p>