Aspose.Cells - Read CSV File With Multiple Encodings

//Set Multi Encoded Property to True
TxtLoadOptions options = new TxtLoadOptions();
options.setMultiEncoded(true);

//Load the CSV file into Workbook
Workbook workbook = new Workbook(dataPath + "MultiEncoded.csv", options);

//Save it in XLSX format
workbook.save(dataPath + "EncodedNewFile_Out.xlsx", SaveFormat.XLSX);

Download Source Code

For More Examples, visit Aspose Docs

Last edited Nov 11, 2014 at 3:11 PM by shoaibkhan, version 1