Skip to main content

CsvSourceOptions.Encoding Property

Gets or sets the character encoding of the CSV document.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

[TypeConverter(typeof(CsvSourceOptions.EncodingConverter))]
public Encoding Encoding { get; set; }

Property Value

Type Description
Encoding

A Encoding object that specifies the character encoding of the CSV document.

Remarks

Use the CsvSourceOptions.DetectEncoding property to specify whether the character encoding is automatically determined.

See Also