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
2
votes
2 answers

how to send multipart/alternative email with PHP correctly

I'm trying to use the built-in PHP mail function to send multipart messages that contain a html and a plain text version of my message. I've been playing around with different encoding types but, I keep running into problems. Originally I set…
Austin
  • 1,619
  • 7
  • 25
  • 51
2
votes
1 answer

Are these email headers RFC-2047 compliant?

I have several clients using a mail client that I wrote myself. They have recently stumbled upon emails where attachment file names arrive are in gibberish. When I examined these emails, I have discovered that there is apparently a local webmail…
user884248
  • 2,134
  • 3
  • 32
  • 57
2
votes
1 answer

Error in parsing VCARD file using python VObject package

I am new to python.I am trying to parse VCARD 2.1 file using vobject 0.9.2 python package. I am trying to parse this VCARD file: BEGIN:VCARD VERSION:2.1 N;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:I;AM;DUMMY;; TEL;CELL:123456789 END:VCARD …
phoenix
  • 87
  • 1
  • 8
2
votes
1 answer

Is it possible to generate vcards 2.1 that get arroung the Thunderbird linebreaks bug?

Without breaking the compatibility of spec-compliant softwares of course! The link to the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=589332 In fields encoded as Quoted printable, Thunderbird add an extra space on each line-break.
Tom
  • 4,666
  • 2
  • 29
  • 48
2
votes
5 answers

How to convert Quoted-Print String

I'm working on French String in .NET Decoding a Mail body , I receive "Chasn=C3=A9 sur illet" I would like to get "Chasné sur illet" and i don't find any solution aver 2 days web search. C# ou VB.NET Can anyone helps me ? thanks
2
votes
2 answers

Reading Text with Accent - Python

I did some script in python that connects to GMAIL and print a email text... But, often my emails has words with "accent". And there is my problem... For example a text that I got: "PLANO DE S=C3=9ADE" should be printed as "PLANO DE SAÚDE". How can…
Thomas
  • 2,256
  • 6
  • 32
  • 47
2
votes
2 answers

UTF-8 quoted-printable, multiline subject for Thunderbird?

Let's say I want to compose an email header with UTF-8, quoted-printable encoded subject, which is "test — UNIX-утилита для проверки типа файла и сравнения значений". I can confirm the bytes of the characters using: $ echo "UNIX-утилита ..." | perl…
sdaau
  • 36,975
  • 46
  • 198
  • 278
2
votes
3 answers

How to use soft line breaks with html mails to have max 75 chars per line?

I have some difficulties sending quoted-printable encoded HTML mails properly. My HTML needs to be cut into lines to fullfil the requirement of having no line of more than 79 characters that is required for compatibility reasons - I have found the…
Manuel Arwed Schmidt
  • 3,376
  • 2
  • 18
  • 28
2
votes
1 answer

PHP Quoted-printable Email and Apple Mail App

I am getting some trouble with Apple Mail app and my php email library. I am currently using quoted-printable encoding to send email from my email library and Apple mail application is displaying the encoded characters instead to decode it. I don't…
Loenix
  • 1,057
  • 1
  • 10
  • 23
2
votes
1 answer

Unknown encoding quoted/printable while reading email with Java mail API

I have a self written Java mail client, that reads messages from mail server. I did not have any problem with it, but recently I found an exception, when this client tried to read one complicated email message. The stack trace says, that encoding…
AdamSkywalker
  • 11,408
  • 3
  • 38
  • 76
2
votes
2 answers

Is it safe to send 8-bit emails?

I would like to know if it is safe to send emails with 8-bit characters or if it is still needed to use quoted-printable or base64 encoding. The 8BITMIME extension is now 20 years old. Are there SMTP servers or mail clients that still are not 8-bit…
Ale
  • 1,914
  • 17
  • 25
2
votes
2 answers

Equals sign magically appears in message sending to pager

I am sending a mail to an email address which forwards messages to a pager. The message I am sending is "Oth info; Thankyou testing now complete just be aware that 34a door will open and shut when pager messages are sent with the CFSRES…
Vijay Singh Rana
  • 1,060
  • 14
  • 32
2
votes
2 answers

Java: Encode String in quoted-printable

I am looking for a way to quoted-printable encode a string in Java just like php's native quoted_printable_encode() function. I have tried to use JavaMails's MimeUtility library. But I cannot get the encode(java.io.OutputStream os, java.lang.String…
Horen
  • 11,184
  • 11
  • 71
  • 113
2
votes
2 answers

Objective-C decode quoted printable text

Is there any efficient (for text files > 5MB) quoted printable decoder written in C? I need such a decoder in an iOS project. At the meanwhile I am using a high level decoder which is way too slow. It takes up to 10 minutes on device to decode a 5MB…
Hasib Samad
  • 1,081
  • 1
  • 20
  • 39
2
votes
3 answers

How to properly decode Quoted Printable encoding in Django HTML Template

I have a Google app engine in python form submit that POSTS text to a server, and the text gets encoded with the encoding Quoted Printables. My code for POSTing is this:
bogen
  • 9,954
  • 9
  • 50
  • 89