Encoding issue with save()

Hi,

I am working with Aspose.cells.dll version 4.5.0.22. in a french environment.

I have a problem when I save a workbook which contains characters with accent in cell values, like "ééààà...". These characters are replace by "????". I think it is an encoding problem, but I did not see any overload of save wich works well.

The code to reproduce is very simple :

workbook.Open(filename);

workbook.Save(filename);

If the file contain accent before open, after save the accents have been replaced.

Is there a solution or a fix to my problem?

Gregory

Hi Gregory,

I have created a file as per your mentioned issue, but I was not able to reproduce the issue regarding the accents. I have used the following code and the attached file to generate the issue.

workbook.Open("C:\\book1.xls");
workbook.Save("C:\\book1.xls");

This issue may be caused due to the use of old version of the Aspose.Cells. I have used Aspose.Cells 4.5.0.31.

Now you can get the latest version of Aspose.Cells and try it again. If the issue still not gets resolved then please share your code and your template file that can be used to reproduce the issue.

Thank you

Regards,

Nausherwan

Please, can you tell me where I can find the latest version Of the Aspose.cells. In the download section I have found only the release version 4.5.0.0, not the hotfix.

Regards ,

Gregory

Hi Gregory,

You can find the latest released version of Aspose.Cells here:
Aspose.Cells for .NET (Latest Version)
Aspose.Cells for Java (Latest Version)

Ok, it works well with the latest version.

Thank you