title: special chars in rmail class
body: <p>I have a strange problem. I'm using the <code>rmail</code> class from Richard Heyes to send mails. This class works always as expected. Now I encountered a <strong>strange problem</strong> with <strong>special chars</strong>. Special chars were never a problem until now.</p>
  
  <p>I have:</p>
  
  <pre><code>$this-&gt;mailEncoding = 'UTF-8';
  $email-&gt;setHeadCharset($this-&gt;mailEncoding);
  $email-&gt;setTextCharset($this-&gt;mailEncoding);
  $email-&gt;setHTMLCharset($this-&gt;mailEncoding);
  </code></pre>
  
  <p>In this case the subject is a string like:</p>
  
  <blockquote>
    <p>...ont été acceptée(s)</p>
  </blockquote>
  
  <p>The subject is used as Mail-Subject (top) and then in content again</p>
  
  <p>This is an image of the received mail in apple mail.
  <img src="https://i.stack.imgur.com/R0gvR.jpg" alt="This is an image of the received mail in apple mail."></p>
  
  <hr>
  
  <p>You see that the content is ok. In the subject été is ok too but acceptée(s) is not.<br>
  Now when I enter:</p>
  
  <blockquote>
    <p>...ont été acceptétée(s)</p>
  </blockquote>
  
  <p>I get (it works):</p>
  
  <p><img src="https://i.stack.imgur.com/cRXT5.jpg" alt="This is an image of the received mail in apple mail."></p>
  
  <p>I tried several combinations. E.g <strong>"à"</strong> works. It seems that only <strong>"ée"</strong> is a problem</p>
  
  <ul>
  <li>The environment is <strong>TYPO3</strong></li>
  <li>the strings are located in locallang_db.xml as <strong>CDATA</strong></li>
  <li>I get them by <strong>pi_getLL</strong></li>
  </ul>
  
  <p>RAW:</p>
  
  <pre class="lang-none prettyprint-override"><code>00 : 56 6f 74 72 65 2f 76 6f 73 20 6d 61 6e 69 66 65 [Votre/vos manife]    
  10 : 73 74 61 74 69 6f 6e 73 28 73 29 20 6f 6e 74 20 [stations(s) ont ]    
  20 : c3 a9 74 c3 a9 20 61 63 63 65 70 74 c3 a9 65 28 [..t.. accept..e(]    
  30 : 73 29 2e                                        [s).
  </code></pre>