Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Text.EncodeToQuotedPrintable

Returns a string with quoted printable characters.

Component Version macOS Windows Linux Server iOS SDK
Text 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.EncodeToQuotedPrintable"; Text { ; Encoding; LineLen } )   More

(old name: String.EncodeToQuotedPrintable)

Parameters

Parameter Description Example Flags
Text The text to use. "Wünsche"
Encoding The text encoding for text parameter.
Default is native.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF-8" Optional
LineLen The line length to use. Default is 72 72 Optional

Result

Returns text or error.

Description

Returns a string with quoted printable characters.
Line wrap is per default at 72 characters but you can pass some other positive value here.

Examples

Encode Wünsche:

MBS( "Text.EncodeToQuotedPrintable"; "Wünsche"; "UTF8")

Example result: W=C3=BCnsche

See also

Blog Entries

This function checks for a license.

Created 3th September 2014, last changed 9th November 2021


Text.EncodeToHex - Text.EncodeToURL