title: Email quoted printable encoding confusion
body: <p>I'm constructing MIME encoded emails with Python and I'm getting a difference with the same email that is MIME encoded by Amazon's SES.</p>
  
  <p>I'm encoding using utf-8 and quoted-printable.</p>
  
  <p>For the character "å" (that's the letter "a" with a little circle on top), my encoding produces</p>
  
  <blockquote>
    <p>=E5</p>
  </blockquote>
  
  <p>and the other encoding produces </p>
  
  <blockquote>
    <p>=C3=A5</p>
  </blockquote>
  
  <p>They both look ok in my gmail, but I find it weird that the encoding is different.  Is one of these right and the other wrong in any way?</p>
  
  <p>Below is my Python code in case that helps.</p>
  
  <p>====</p>
  
  <pre><code>cs = charset.Charset('utf-8')
  cs.header_encoding = charset.QP
  cs.body_encoding = charset.QP
  
  # See https://stackoverflow.com/a/16792713/136598
  mt = mime.text.MIMEText(None, subtype)
  mt.set_charset(cs)
  mt.replace_header("content-transfer-encoding", "quoted-printable")
  mt.set_payload(mt._charset.body_encode(payload))
  </code></pre>