Skip to main content

CsvDocumentImporterOptions.Encoding Property

Gets or sets the encoding used to interpret characters in the loaded CSV document.

Namespace: DevExpress.XtraSpreadsheet.Import

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

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

Property Value

Type Description
Encoding

A Encoding object providing the conversion between certain encoding and Unicode.

Property Paths

You can access this nested property as listed below:

Object Type Path to Encoding
WorkbookImportOptions
.Csv .Encoding

Remarks

The Encoding property has no effect when CsvDocumentImporterOptions.AutoDetectEncoding is set to true.

See Also