I had originally posted this on the Webapps site from stack exchange, but didn't get any response, so I thought I'd try here as well.
I sent out an email recently that gave the wrong character representations. The email itself is a newsletter sent out through Gmail and the issue doesn't seem to happen too often. The recipient sent me the email he received (he had read it on an iPad).
For example, the following text:
After Sri Lanka’s experiment with protectionism under the Sri Lanka Freedom Party in the 1970s failed, Wickremesinghe’s uncle, former President J.R. Jayawardena, initiated a massive liberalization drive in 1977, following a landslide election victory.
was displayed as:
After Sri Lanka=E2=80=99s experiment with protectionism under the Sri Lanka= Freedom Party in the 1970s failed, Wickremesinghe=E2=80=99s uncle, former President= J.R. Jayawardena, initiated a massive liberalization drive in 1977, following =E2=80=8B=E2=80=8B a landslide election victory.
I should note that the characters are displayed as
Sri Lanka=E2=80=99s and not like
The way this mail was done is, first I made the mail on my personal Yahoo account and sent it to a company Gmail account. It was forwarded from the Gmail account to this recipient.
When I checked my sent mail on Yahoo, everything looked fine. However, I noticed that the raw message had this strange formatting everywhere.
I have no idea what could have caused it though. A little googling told me that it might be that
Content-Transfer-Encoding is set to
quoted-printable. When checking the email headers, it is in fact set to
The rest of the email headers are as follows (sensitive info has been ...-fied):
MIME-Version: 1.0 Received: by 10.200.58.130 with HTTP; Mon, 3 Jul 2017 19:08:12 -0700 (PDT) Date: Tue, 4 Jul 2017 07:38:12 +0530 Delivered-To: fr...firstname.lastname@example.org Message-ID: <CABwGrnBtUxcF5gyyW=6DyBy1r6nH3p0QATwFKtVUUs2Jttaoew@mail.gmail.com> Subject: Second Update - 04.07.2017 From: T... T... <fr...email@example.com> To: f... <fr...firstname.lastname@example.org> Content-Type: multipart/alternative; boundary="001a11455b06085fd30553745b69" --001a11455b06085fd30553745b69 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Any idea what went wrong or how I could fix it?