PDIParserDefaultEncoding Property
This property is used to set or get the default text encoding method used when parsing a PDI data
stream.
Namespace: EWSoftware.PDI.ParserAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static Encoding DefaultEncoding { get; set; }
Public Shared Property DefaultEncoding As Encoding
Get
Set
public:
static property Encoding^ DefaultEncoding {
Encoding^ get ();
void set (Encoding^ value);
}
static member DefaultEncoding : Encoding with get, set
Property Value
EncodingThe default text encoding method is UTF-8. You can set this property before parsing a PDI
data stream to alter how text within the stream is interpreted. This parameter has no effect if
using a parsing method that is passed a stream object. In those cases, it is up to you to open the
stream with the appropriate text encoding method.