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