title: php str_replace for danish char's
body: <p>I am removing danish special char's from a string, I have a string like this <strong>1554896020A2å.pdf</strong> danish char's are "æ ø å " for removing danish char's I am using <strong>str_replace</strong>, I successfully remove these two "æ ø" char's but I don't know this one "å" is not removed from the string. thanks for your help in advance.</p>
  
  <p>I have used this to remove danish char's</p>
  
  <pre><code>$patterns = array('å', 'æ', 'ø');
  $replacements = array('/x7D', 'X', '/x7C');
  echo str_replace($patterns, $replacements, 1554896020A2å.pdf);
  </code></pre>