CellsOptionsEncoding Property
The text (*.csv) document encoding.

Namespace: GroupDocs.Viewer.Converter.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 19.6
Syntax
public Encoding Encoding { get; set; }

Property Value

Type: Encoding
Examples
The following example demonstrates how to set Encoding for rendering csv documents.
C#
ViewerHtmlHandler htmlHandler = new ViewerHtmlHandler();
HtmlOptions options = new HtmlOptions();
options.CellsOptions.Encoding = Encoding.GetEncoding("shift-jis");

string guid = "encoded.csv";
List<PageHtml> pages = htmlHandler.GetPages(guid, options);
See Also