EncodingUtils Class

This class contains some static utility methods used to encode and decode data

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static class EncodingUtils
Inheritance
Object    EncodingUtils

Methods

Escape This method is used to replace carriage returns, line feeds, commas, semi-colons, and backslashes within the string with an appropriate escape sequence (\r \n \, \; \\).
FromBase64 This method is used to decode the specified Base 64 encoded string using the iso-8859-1 encoding (Western European (ISO), Windows code page 1252) which works well for 8-bit binary data.
FromQuotedPrintable This method is used to decode the specified Quoted-Printable encoded string
RestrictedEscape This method is used to replace carriage returns, line feeds, and backslashes within the string with an appropriate escape sequence (\r \n \\). Commas and semi-colons are not escaped by this method.
ToBase64 This method is used to Base 64 encode the specified string using the iso-8859-1 encoding (Western European (ISO), Windows code page 1252) which works well for 8-bit binary data.
ToQuotedPrintable This method is used to encode the specified string as Quoted-Printable text
Unescape This method is used to unescape carriage returns, line feeds, commas, semi-colons, and backslashes within the string by replacing them with their literal characters.

See Also