25:
221:
are the two MIME content transfer encodings, if the trivial "7bit" and "8bit" encoding are not counted. If the text to be encoded does not contain many non-ASCII characters, then Quoted-Printable results in a fairly readable and compact encoded result. On the other hand, if the input has many 8-bit
209:
other than ASCII. However, these encodings often use byte values outside the ASCII range so they need to be encoded further before they are suitable for use in a non-8-bit-clean environment. Quoted-Printable encoding is one method used for mapping arbitrary bytes into sequences of ASCII characters.
353:
J'interdis aux marchands de vanter trop leurs marchandises. Car ils se font= vite p=C3=A9dagogues et t'enseignent comme but ce qui n'est par essence qu= 'un moyen, et te trompant ainsi sur la route =C3=A0 suivre les voil=C3=A0 b= ient=C3=B4t qui te d=C3=A9gradent, car si leur musique est vulgaire
361:
J'interdis aux marchands de vanter trop leurs marchandises. Car ils se font vite pédagogues et t'enseignent comme but ce qui n'est par essence qu'un moyen, et te trompant ainsi sur la route à suivre les voilà bientôt qui te dégradent, car si leur musique est vulgaire ils te fabriquent pour te la
326:
at the end of an encoded line, and does not appear as a line break in the decoded text. These soft line breaks also allow encoding text without line breaks (or containing very long lines) for an environment where line size is limited, such as the 1000 characters per line limit of some
222:
characters, then Quoted-Printable becomes both unreadable and extremely inefficient. Base64 is not human-readable, but has a uniform overhead for all data and is the more sensible choice for binary formats or text in a
288:, decimal values 9 and 32, may be represented by themselves, except if these characters would appear at the end of the encoded line. In that case, they would need to be escaped as
155:. Historically, because of the wide range of systems and protocols that could be used to transfer messages, e-mail was often assumed to be non-8-bit-clean – however, modern
300:(soft line break) as the last character of the encoded line. This last solution is valid because it prevents the tab or space from being the last character of the encoded line.
303:
If the data being encoded contains meaningful line breaks, they must be encoded as an ASCII CR LF sequence, not as their original byte values, neither directly nor via
214:
character encoding. QP encoding is reversible, meaning the original bytes and hence the non-ASCII characters they represent can be identically recovered.
482:
318:
Lines of Quoted-Printable encoded data must not be longer than 76 characters. To satisfy this requirement without altering the encoded text,
307:
signs. Conversely, if byte values 13 and 10 have meanings other than end of line (in media types, for example), then they must be encoded as
108:
42:
354:
ils te = fabriquent pour te la vendre une =C3=A2me vulgaire. =E2=80=94=E2=80=89Antoine de Saint-Exup=C3=A9ry, Citadelle (1948)
346:
The following example is a French text (encoded in UTF-8), with a high frequency of letters with diacritical marks (such as the
89:
61:
46:
156:
68:
391:
367:
75:
35:
210:
So, Quoted-Printable is not a character encoding scheme itself, but a data coding layer to be used under some
57:
269:
All printable ASCII characters (decimal values between 33 and 126) may be represented by themselves, except
201:
defines mechanisms for sending other kinds of information in e-mail, including text in languages other than
129:
429:
Multipurpose
Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies. November 1996.
281:
206:
168:
148:
133:
82:
455:
445:
397:
385:
223:
202:
187:
285:
487:
476:
211:
227:
137:
465:
430:
416:
This implies that an ASCII compatible encoding is used. A QP-encoded text in e.g.
246:
digits (0–9 or A–F) representing the byte's numeric value. For example, an ASCII
459:
449:
334:
A slightly modified version of Quoted-Printable is used in message headers; see
243:
190:. It also limits line length to 76, as some software has limits on line length.
152:
141:
24:
247:
259:
151:
data over a 7-bit data path or, generally, over a medium which is not
417:
218:
176:
167:
extension. It can also be used with data that contains non-permitted
254:, and an ASCII equal sign (decimal value 61) must be represented by
335:
328:
198:
172:
171:
or line lengths exceeding SMTP limits. It is defined as a MIME
18:
466:
RFC 2045 — 6.7. Quoted-Printable
Content-Transfer-Encoding
322:
may be added as desired. A soft line break consists of an
238:
Any 8-bit byte value may be encoded with 3 characters: an
431:
RFC 2045 # 6.7 Quoted-Printable
Content-Transfer-Encoding
258:. All characters except printable ASCII characters or
433:, part "(4) (Line Breaks)". Retrieved March 18, 2013.
250:character (decimal value 12) can be represented by
49:. Unsourced material may be challenged and removed.
359:
388:(data encoding in URLs, mostly used for text)
8:
109:Learn how and when to remove this message
409:
273:(decimal 61, hexadecimal 3D, therefore
357:This encodes the following quotation:
163:in most cases 8-bit clean and support
7:
47:adding citations to reliable sources
398:Rich Text Format#Character encoding
266:) must be encoded in this fashion.
394:(text encoding in SGML, HTML, XML)
331:software, as allowed by RFC 2821.
182:QP works by using the equals sign
14:
420:would not be readable of course.
23:
483:Binary-to-text encoding formats
34:needs additional citations for
400:(a component of text encoding)
1:
296:(space), or be followed by a
392:Numeric character reference
506:
134:printable ASCII characters
234:Quoted-printable encoding
173:content transfer encoding
368:Antoine de Saint-Exupéry
362:vendre une âme vulgaire.
130:binary-to-text encoding
16:Binary-to-text encoding
377:
260:end of line characters
217:Quoted-Printable and
43:improve this article
207:character encodings
58:"Quoted-printable"
336:MIME#Encoded-Word
119:
118:
111:
93:
495:
434:
427:
421:
414:
386:Percent-encoding
375:
325:
320:soft line breaks
314:
310:
306:
299:
295:
291:
286:space characters
276:
272:
265:
257:
253:
242:followed by two
241:
188:escape character
185:
166:
146:
122:Quoted-Printable
114:
107:
103:
100:
94:
92:
51:
27:
19:
505:
504:
498:
497:
496:
494:
493:
492:
473:
472:
442:
437:
428:
424:
415:
411:
407:
382:
376:
366:
355:
344:
323:
312:
308:
304:
297:
293:
289:
274:
270:
263:
255:
251:
239:
236:
226:other than the
196:
183:
164:
144:
115:
104:
98:
95:
52:
50:
40:
28:
17:
12:
11:
5:
503:
502:
499:
491:
490:
485:
475:
474:
471:
470:
469:
468:
453:
441:
440:External links
438:
436:
435:
422:
408:
406:
403:
402:
401:
395:
389:
381:
378:
364:
352:
343:
340:
315:respectively.
235:
232:
195:
192:
147:) to transmit
117:
116:
31:
29:
22:
15:
13:
10:
9:
6:
4:
3:
2:
501:
500:
489:
486:
484:
481:
480:
478:
467:
464:
463:
461:
457:
454:
451:
447:
444:
443:
439:
432:
426:
423:
419:
413:
410:
404:
399:
396:
393:
390:
387:
384:
383:
379:
373:
369:
363:
358:
351:
349:
341:
339:
337:
332:
330:
321:
316:
301:
287:
283:
278:
267:
261:
249:
245:
233:
231:
229:
225:
220:
215:
213:
212:byte-oriented
208:
204:
200:
193:
191:
189:
180:
178:
174:
170:
162:
158:
154:
150:
143:
139:
135:
132:system using
131:
127:
123:
113:
110:
102:
91:
88:
84:
81:
77:
74:
70:
67:
63:
60: –
59:
55:
54:Find sources:
48:
44:
38:
37:
32:This article
30:
26:
21:
20:
425:
412:
371:
360:
356:
347:
345:
333:
319:
317:
302:
279:
268:
237:
228:Latin script
216:
197:
194:Introduction
181:
160:
138:alphanumeric
125:
121:
120:
105:
99:January 2021
96:
86:
79:
72:
65:
53:
41:Please help
36:verification
33:
244:hexadecimal
175:for use in
153:8-bit clean
142:equals sign
126:QP encoding
477:Categories
452:(obsolete)
262:(but also
69:newspapers
372:Citadelle
292:(tab) or
248:form feed
380:See also
365:—
205:, using
165:8BITMIME
159:servers
140:and the
462:(MIME)
342:Example
203:English
128:, is a
83:scholar
458:
448:
418:EBCDIC
374:(1948)
280:ASCII
224:script
219:Base64
186:as an
177:e-mail
169:octets
85:
78:
71:
64:
56:
488:Email
405:Notes
149:8-bit
124:, or
90:JSTOR
76:books
460:2045
450:1521
329:SMTP
311:and
284:and
199:MIME
157:SMTP
62:news
456:RFC
446:RFC
350:).
313:=0A
309:=0D
294:=20
290:=09
282:tab
277:).
275:=3D
256:=3D
252:=0C
161:are
45:by
479::
370:,
338:.
230:.
179:.
348:Ă©
324:=
305:=
298:=
271:=
264:=
240:=
184:=
145:=
136:(
112:)
106:(
101:)
97:(
87:·
80:·
73:·
66:·
39:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.