共用方式為


FileTextLoader.DefaultEncoding Property

Definition

Specifies an encoding to be used if the actual encoding of the file can't be determined from the stream content (the stream doesn't start with Byte Order Mark). If null auto-detect heuristics are used to determine the encoding. Note that if the stream starts with Byte Order Mark the value of DefaultEncoding is ignored.

public:
 property System::Text::Encoding ^ DefaultEncoding { System::Text::Encoding ^ get(); };
public System.Text.Encoding DefaultEncoding { get; }
public System.Text.Encoding? DefaultEncoding { get; }
member this.DefaultEncoding : System.Text.Encoding
Public ReadOnly Property DefaultEncoding As Encoding

Property Value

Applies to