Quoted-printable encoding

Quoted-printable encoding

Quoted-printable encoding (somtimes QP) involves using US-ASCII 7-bits encoding (non-accented letters) to encode a text that requires an alphabet of 8-bit characters (accented letters), such as ISO-Latin-1, which is used for most Western European languages.

Concept of quoted-printable encoding

With quoted-printable encoding, the standard characters, which in ASCII code run from 33 to 127 (except for the equal sign, which is code 61), are encoded using the 7-bit US-ASCII code.

8-bit special or accented characters (à, é, ç, ö, ñ, etc.) are encoded using the equal sign, followed by two hexadecimal digits. Below is the quoted-printable encoding for common special characters:

CharacterQP encoding

With quoted-printable encoding, text must be divided so that no line contains more than 76 characters.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Quoted-printable encoding », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).