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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    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 OK 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

Created 3th September 2014, last changed 11st December 2016


Text.EncodeToHex - Text.EncodeToURL

Feedback: Report problem or ask question.