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

C++ Decode quoted-printable encoding with GMime 3.0

I have an e-mail which is made of multiple parts, I parsed it successfully with GMime, but I can't figure out how to decode the Content-Transfer-Encoding: quoted-printable parts. I saw there are automaton-like functions but I don't know how to use…
user5193284
0
votes
1 answer

Invalid UTF-8 detected in nodejs

I'm having an issue while encoding an email body using utf8 and quoted-printable bodyHtml = utf8.decode(quotedPrintable.decode(resData['body-html'])); In heroku logs, it says 2017-05-04T05:49:54.312348+00:00 app[consumerWorker.1]:…
Kiran LM
  • 1,359
  • 1
  • 16
  • 29
0
votes
2 answers

GMail API decoding messages from everywhere

I am working with the GMail API in Python to retrieve mails written in french and I'm actually having a problem with accents. I retrieve the messages with this : message = service.users().messages().get(userId="me", id=i,…
Qrom
  • 487
  • 5
  • 20
0
votes
2 answers

C# MailMessage AlternateView ignoring TransferEncoding

We send calendar invites from our system in multiple languages. (English, Spanish, German etc) Recently we added Georgian and are having issue the the encoding of MailMessage. For example 'თბილისი' in the email arrives as 'თბილისი' The…
Eilimint
  • 307
  • 1
  • 3
  • 11
0
votes
0 answers

receiving mail from gmail through IMAP in rails

I am trying to fetching mail from gmail ..but i am facing a serious problem during saving mail into database. the body content are comming with "=" after saving when continous line. as bellow --- 1206979905221152897hs_cos_wrapper m= …
Debasish
  • 173
  • 2
  • 3
  • 14
0
votes
2 answers

Take control over email subject in rails

I need to change the subject of the emails on a low level. What rails does is encoding the subject as quoted in whatever encoding is set. What I need is to make it quoted but split into chunks of 64 byte, as hotmail doesn't really goes with the…
0
votes
2 answers

How to parse email text (bash)

I have the following text (received in an email): ----boundary_3_f515675d-c033-4705-a01e-244d1d6c8368 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0D=0ANew Lead from X Akows kl iut…
Neil Reardon
  • 65
  • 1
  • 9
0
votes
1 answer

Using a Java SOAP service breaks javax.mail's quoted printable mail encapsulation

This has had me puzzled for many hours, and seems inherently unlikely, but please bear with me; I believe I have proof. I have simplified this down to a minimal test case (below). To test the code, you will need to use EmailTest.java (below), then…
abligh
  • 24,573
  • 4
  • 47
  • 84
0
votes
1 answer

Quoted Printable - Decode .eml

i want decode some content of an .eml-Mail-File. The File contains Strings like "Gesch=C3=A4ftsbedingungen", it shoult be > "Geschäftsbedingungen" reader = new InputStreamReader(new FileInputStream(path)); BufferedReader in = new…
0
votes
1 answer

how to encode inputstream to quoted-printable inputstream

Like org.apache.commons.codec.binary.Base64InputStream which converts given inputstream to base64inputstream, i want class which should converts inputstream to quoted-printable inputstream. Please help to find one.
Roshan
  • 2,019
  • 8
  • 36
  • 56
0
votes
2 answers

PHP quoted_printable_decode not working on Fandango plain/text emails

I'm working to clean up emails before they get stored in a database. A fandango email was sent as being encoded as 4 (quoted-printable). Here is part of the message without decoding... =0A=0A=A0=0AJohn=0A(800) 123-4567=0A=0A----- Forwarded Message…
John
  • 1
  • 13
  • 98
  • 177
0
votes
1 answer

Postfix sends to Exchange Server with "=" characters at end of the lines

I created an automated notification system in PHP using the mail() function via postfix MTA. However, the users of Outlook, actually Exchange Server receive notifications with equal "=" characters at end of the lines and with broken HTML. The…
Branislav
  • 315
  • 1
  • 3
  • 13
-1
votes
1 answer

Camel Route read Mail by call url IMAP Server, but will throw RuntimeCamelException if Content-Transfer-Encoding:quoted-printable

everyone. I have an application using camel route to call url IMAP to read mail and retrieve content,…
-1
votes
1 answer

How can I display the HTML tag correctly

I will read an email via PHP. However I'm stocking at the following point. I receive the values from the mail via class id's: $Sadress_Lname = utf8_encode(quoted_printable_decode(get_content($bodyText,'','span'))); If the…
MaxF
  • 1
  • 2
-1
votes
1 answer

What is this text: =B0=A1=C1=CB ... and how to convert it to normal text?

I have found some text in this form: =B0=A1=C1=CB,=C4=E3=D2=B2=C3=BB=C1=AA=CF=B5=CE=D2,=D7=EE=BD=FC=CA=C7=B2=BB=CA=C7= =BA=DC=C3=A6=B0=A1 containing mostly sequences consisting of an equal sign followed by two hexadecimal digits. I am told it could…
Siwei
  • 19,858
  • 7
  • 75
  • 95
1 2 3 4 5 6
7