Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem