title: Reading email body with encoding ISO-8859-1
body: <p>I'm using Mailkit for reading some email's body content by using IMAP.</p>
  
  <p>Some of these emails come with content-type <code>text/plain</code> and charset <code>ISO-8859-1</code> which causes that my code replaces some Latin characters <code>á é í ó ú</code> and apparently also <code>CR</code> and <code>LF</code> by weird chars such as <code>=E1</code> <code>=FA</code> <code>=F3</code> <code>=</code>...</p>
  
  <pre><code>var body = message.BodyParts.OfType&lt;BodyPart&gt;().FirstOrDefault(x =&gt; x.ContentType.IsMimeType("text", "plain"));
  var bodyText = (TextPart)folder.GetBodyPart(message.UniqueId, body);
  var bodyContent = bodyText.Text;
  </code></pre>
  
  <p>There is no problem when opening these emails with email clients such as Thunderbird or Outlook. They are showing these chars as they are. I want to be able to retrieve these Latin chars.</p>
  
  <p>I've tried with some encoding options with no success.</p>
  
  <pre><code>var bodyContent = bodyText.GetText(System.Text.Encoding.ASCII); 
  var bodyContent = bodyText.GetText(System.Text.Encoding.UTF-8);
  </code></pre>