Platforms to show: All Mac Windows Linux Cross-Platform

EncodingToQuotedPrintableMBS(s as string, LineLen as Integer = 72) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method String MBS Util Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a string with quoted printable characters.
Example
dim a as string = "Hello äöü!"
dim b as string = EncodingToQuotedPrintableMBS(a)
dim c as string = ConvertEncoding(a, encodings.ISOLatin1)
dim d as string = EncodingToQuotedPrintableMBS(c)
dim e as string = EncodeQuotedPrintable(a)
dim f as string = EncodeQuotedPrintable(c)

MsgBox b+EndOfLine+d+EndOfLine+e+EndOfLine+f

Line wrap is per default at 72 characters but you can pass some other positive value here.
Quoted printable encoded strings have some ISO encoding as base, you need to pass a valid ISO string to this function to get the correct result.
May return "" on low memory conditions.

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...