Description
Reject line input containing carriage return or newline.
Quoted-printable body encoding represents selected octets with equals-sign hexadecimal escapes and treats line endings and trailing whitespace specially. Fixing one escape or trailing run does not perform all MIME body transformations.
Reject line input containing carriage return or newline.
When to use this tool
Use Encoding: Quoted Printable Line Trailing Space when checking one quoted-printable literal or trailing-whitespace transformation.
How to use the tool and how it works
- Enter line. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Reject line input containing carriage return or newline. Replace its terminal run of ASCII spaces and tabs with =20 and =09 respectively; preserve all earlier characters.1
Quoted-printable has specific escape and trailing-whitespace rules. This transformation covers only the stated fragment, not complete MIME body encoding.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| line | Line | Required. Text. Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Object containing the named calculated members below. | Required. Object. |
| result.encodedLine | Encoded Line | Calculated result member: string. |
{
"input": {
"line": "abc \t"
},
"output": {
"result": {
"encodedLine": "abc=20=09"
}
}
} Limitations and assumptions
- This handles only trailing horizontal whitespace. It does not encode non-ASCII text, equals signs, line wrapping or complete MIME quoted-printable content.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use a complete MIME body encoder when byte conversion, line-length limits and soft line breaks matter.
References
-
Calculation and input contract: encode/quoted-printable-line-trailing-space — tool.io
-
MIME quoted-printable: RFC 2045 — Internet Engineering Task Force
Similar or alternative tools
- Quoted Printable Equals Sign Token
Require symbol exactly = and return token =3D.
- Base91 Encoder
Encode UTF-8 text as basE91, a compact printable encoding for binary data.