wildduck icon indicating copy to clipboard operation
wildduck copied to clipboard

Bug: Content encoding is incorrect

Open titanism opened this issue 7 months ago • 16 comments

Message-ID: <[email protected]>
Date: Sun, 26 Nov 2023 02:21:11 -0600
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird Beta
From: test <[email protected]>
Subject: test
To: [email protected]
Content-Language: en-US
X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0;
 attachmentreminder=0; deliveryformat=0
X-Identity-Key: id1
Fcc: imap://test%[email protected]/Sent Mail
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hey!</p>
    <p>This is a test!</p>
    <p>To show that double line spacing is causing encoding issues with
      WildDuck.  Yo.</p>
    <p><br>
    </p>
    <p>OK<br>
    </p>
  </body>
</html>


Rendering incorrectly in Thunderbird:

Screen Shot 2023-11-26 at 2 21 38 AM

When you send the message, the double space is encoded as � :

Screen Shot 2023-11-26 at 2 28 30 AM

Not sure if this is WildDuck specific, but putting this in here for now until I figure out what is going on.

titanism avatar Nov 26 '23 08:11 titanism