title: Change special characters in array Delphi
body: <p>Some string that I am getting is UTF-8 encoded, and contains some special characters like
   Å¡, Ä‘, Ä etc. I am using <code>StringReplace()</code> to convert it to some normal text, but I can only convert one type of character. Because PHP also has a function to replace strings as seen here: <a href="https://stackoverflow.com/questions/1890854/how-to-replace-special-characters-with-the-ones-theyre-based-on-in-php">how to replace special characters with the ones they&#39;re based on in PHP?</a>, but it supports arrays:</p>
  
  <pre><code>&lt;?php
    $vOriginalString = "¿Dónde está el niño que vive aquí? En el témpano o en el iglú. ÁFRICA, MÉXICO, ÍNDICE, CANCIÓN y NÚMERO.";
  
    $vSomeSpecialChars = array("á", "é", "í", "ó", "ú", "Á", "É", "Í", "Ó", "Ú", "ñ", "Ñ");
    $vReplacementChars = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U", "n", "N");
  
    $vReplacedString = str_replace($vSomeSpecialChars, $vReplacementChars, $vOriginalString);
  
    echo $vReplacedString; // outputs '¿Donde esta el nino que vive aqui? En el tempano o en el iglu. AFRICA, MEXICO, INDICE, CANCION y NUMERO.'
  ?&gt;
  </code></pre>
  
  <p>How can I do this in Delphi? <code>StringReplace</code> doesn't support arrays.</p>