Hi,
Thanks for your posting and using Aspose.Cells for Java.
We have looked into your issue and found that Aspose.Cells for Java does show this problem. The same code works fine on the .NET version.
Please see the following sample code in C# and Java. I have attached the .NET and Java version output csv files and screenshot for your reference.
We have logged this issue in our database. We will look into it and fix this issue and once there is some update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40357.
C#
Workbook workbook = new Workbook();
workbook.Settings.Encoding = Encoding.UTF8;
Worksheet worksheet = workbook.Worksheets[0];
worksheet.Cells[“A1”].PutValue(“مرحبا بكم في مكة المكرمة”);
worksheet.Cells[“B1”].PutValue(“تعلم اللغة العربية”);
workbook.Save(“output.java.csv”, SaveFormat.CSV);
Java
workbook.getSettings().setEncoding(Encoding.getUTF8());
Worksheet worksheet = workbook.getWorksheets().get(0);
worksheet.getCells().get("A1").putValue("مرحبا بكم في مكة المكرمة");
worksheet.getCells().get("B1").putValue("تعلم اللغة العربية");
workbook.save("output.csv", SaveFormat.CSV);
Screenshot:
Hi,
We have fixed this issue.
Please download and try this fix: Aspose.Cells for Java v7.3.3.2 and let us know your feedback.
The issues you have found earlier (filed as CELLSJAVA-40357) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.