PDIParserDefaultEncoding Property

This property is used to set or get the default text encoding method used when parsing a PDI data stream.

Definition

Namespace: EWSoftware.PDI.Parser
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public static Encoding DefaultEncoding { get; set; }

Property Value

Encoding
The 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.

See Also