EncodingUtilsToQuotedPrintable Method

This method is used to encode the specified string as Quoted-Printable text

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static string ToQuotedPrintable(
	this string encode,
	int foldWidth
)

Parameters

encode  String
The string to encode.
foldWidth  Int32
If greater than zero, line folds with soft line breaks are inserted at the specified interval.

Return Value

String
The Quoted-Printable encoded string

Usage Note

In 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).

Remarks

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).

See Also