Questions tagged [quoted-printable]

A widely used email encoding that represents all bytes as printable 7-bit ASCII characters using `=` as the escape character, while also limiting line length to 76.

From https://en.wikipedia.org/wiki/Quoted-printable (slightly edited):

Quoted-Printable, or QP encoding, is an encoding using printable ASCII characters [...] to transmit 8-bit data over a 7-bit data path or, generally, over a medium which is not 8-bit clean.

It is defined as a MIME content transfer encoding for use in e-mail. QP works by using the equals sign = as an escape character.

It also limits line length to 76, as some software has limits on line length.

Quoted-Printable is efficient and reasonably human-readable only for input text with mostly 7-bit ASCII characters, such as English text.

105 questions
0
votes
1 answer

How to decode a quoted printable e-mail header (with MimeKit)

I have this header from an e-mail message: (some headers only, from a log file, not the entire message) From: =?UTF-8?B?TmFtZSDDpMO2w7w=?= How can I decode the part after the "From:" into the Unicode string that it was when I…
ygoe
  • 18,655
  • 23
  • 113
  • 210
0
votes
1 answer

Is this a legal quoted-printable encoding?

Is this a legal quoted-printable encoding? a == 3D b How about this one? a = b the second line I wonder if = can occur without encoding, and an encoding such as =3D can be put on two lines. The RFC is ambiguous.
William
  • 761
  • 2
  • 10
  • 27
0
votes
0 answers

Quoted-printable Email Subject lines not getting decoded by email clients

I've written a WordPress plugin which sends out new post notifications. There is a setting to convert subject lines from html entites to quoted-printable so they'll display in UTF-8 on any email client. A few weeks ago I started getting reports that…
Vinny Alves
  • 94
  • 1
  • 3
0
votes
1 answer

UTF-8 encoding in emails, parsing the body

So I don't really want this question to be language specific, however I suspect Go (my language choice) is playing a part here. I'm trying to find a string within the body of a raw email. To do so, I am getting the encoding, and the marjority of…
amlwwalker
  • 3,161
  • 4
  • 26
  • 47
0
votes
1 answer

How to decode the email quoted printable encoded in C#

I have took a look for many solution here and still not found the work solution to decode email quoted printable. Example input: *** Hello, World *** =0D=0AURl: http://w= ww.example.com?id=3D= 27a9dca9-5d61-477c-8e73-a76666b5b1bf=0D=0A=0D=0A …
Aixasz
  • 338
  • 1
  • 3
  • 15
0
votes
1 answer

Decode quoted-printable email strings in Rust (Like =?UTF-8?Q??=D1=81_=D0)

Is there any good crate which can decode quoted-printable strings in mail subjects, senders and etc? I just found mini crate named quoted_printable. But this not helped a lot. For example from string like…
Gudsaf
  • 289
  • 3
  • 12
0
votes
1 answer

Getting right encoding for e-mail from gmail API

I am struggling to get special characters from an email to display correctly. I get the message using the Gmail API like this: msg_id = '169a8fac44fd8115' service = build('gmail', 'v1', credentials=creds) message =…
Alexis Eggermont
  • 7,665
  • 24
  • 60
  • 93
0
votes
2 answers

sending mail with swift mailer (php) to gforge email gateway, equal signs (=) at the end of lines

Now, i have another problem with gForge. I have a form in our intranet to create new trackers in our gforge system. We use Kohana and the Swift Mailer to send smtp emails. This is what i get (i send the mail as bcc to myself): Received: from…
Chris
  • 695
  • 5
  • 8
0
votes
1 answer

CRLF in the quoted-printable MIME message

I have a multipart MIME message where one part looks like ------=_Part_901_990681075.1528833507 Content-Disposition: attachment; filename="metadata.txt" Content-ID: 3314a2d3-6092-48c3-93d9-a45648b6582b@localhost Content-Type: text/plain;…
JackTheKnife
  • 3,795
  • 8
  • 57
  • 117
0
votes
1 answer

Stream decoding base64 and quoted-printable in PHP

As i have discovered stream_filter_append($cin, 'convert.quoted-printable-decode'); and stream_filter_append($cin, 'convert.base64-decode'); don't decode stream line-by-line. These functions both first read the whole stream until EOF and then…
jsmarkus
  • 1,482
  • 1
  • 16
  • 21
0
votes
0 answers

Quoted Printables Encoding - counting Bits

Let's say I want to encode a word in quoted printable (with charset ISO 8859-1) and count bits afterwards. How do you count the encoded quoted printable tag ("=" and hex) in bits? Original: hätte -> 7+8+7+7+7 = 36 Bits Encoded: h=E4tte -> does…
WirJun
  • 113
  • 1
  • 16
0
votes
0 answers

issues with 8bit mime type emails in php

Ok, I'm trying, in php, using the imap commands to read emails from a mailbox and then do something with them (doesn't matter what). I'm getting the sending host, the subject and the sender and then the body of the email. If the email is in mime…
Will Evans
  • 27
  • 8
0
votes
2 answers

Parse "quoted-printable" encoded text

I have some text encoded with quoted-printable, in which soft-breaks are made with the = symbol. I'm looking to parse (not decode) this text. Is there any way I can read the following,
almino
  • 43
  • 4
0
votes
1 answer

select and hide an element that is added after an HTML email

I am using acuityscheduling and i created a custom HTML email that is sent to my clients. Acuityscheduling adds after each Email automatically the following tag:

iolli
  • 93
  • 2
  • 10
0
votes
1 answer

Email quoted printable encoding confusion

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. I'm encoding using utf-8 and quoted-printable. For the character "å" (that's the letter "a" with a little circle…
new name
  • 15,861
  • 19
  • 68
  • 114