title: Change all accented letters to normal letters in C++
body: <h2>The question</h2>
  
  <p>How can you change all accented letters to normal letters in C++ (or in C)?</p>
  
  <p>By that, I mean something like <code>eéèêaàäâçc</code> would become <code>eeeeaaaacc</code>.</p>
  
  <h2>What I've already tried</h2>
  
  <p>I've tried just parsing the string manually and replacing each one of them one by one, but I was thinking there has to be a better/simpler way that I am not aware of (that would garantee I do not forget any accented letter).</p>
  
  <p>I am wondering if there is already a map somewhere in the standard library or if all the accented characters can easily be mapped to the "normal" letter using some mathematic function (ex. <code>floor(charCode-131/5) + 61)</code>).</p>