title: Replacing accents w/ their counterparts in AS3
body: <p>How would I go on about changing éëíïñÑ (etc) to their counterparts? ie, eeiinN.</p>
  
  <p>I was thinking about doing regex matching against é -> &amp;eacute; and replacing both &amp; and acute/grave; with empty strings, but I can't seem to find an AS3 function that encodes accents to their non-numerical entities (&amp;#234; and the like). I've already tried using an associative array, a la entities["À"] = "A";, but AS3 seems to dislike the unicode keys. </p>
  
  <p>Any suggestions would be greatly appreciated.</p>
  
  <p>Thanks!</p>