EncodingUtilsToQuotedPrintable Method
This method is used to encode the specified string as Quoted-Printable text
Namespace: EWSoftware.PDIAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static string ToQuotedPrintable(
this string encode,
int foldWidth
)
<ExtensionAttribute>
Public Shared Function ToQuotedPrintable (
encode As String,
foldWidth As Integer
) As String
public:
[ExtensionAttribute]
static String^ ToQuotedPrintable(
String^ encode,
int foldWidth
)
[<ExtensionAttribute>]
static member ToQuotedPrintable :
encode : string *
foldWidth : int -> string
- encode String
- The string to encode.
- foldWidth Int32
- If greater than zero, line folds with soft line breaks are inserted at the
specified interval.
StringThe Quoted-Printable encoded stringIn Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Character values 9, 32-60, and 62-126 go through as-is. All others are encoded as "=XX"
where XX is the 2 digit hex value of the character (i.e. =0D=0A for a carriage return and line feed).