It might be due to you locale/regional settings. What is your regional or locale settings of your environment/system? Could you please try the following sample code and let us know your results.
e.g. Sample code:
Workbook doc = new Workbook(stringFileName) ;
doc.getSettings().setRegion(CountryCode.USA);
doc.save("out1.pdf");
As now of we are not setting regional. Can you lets know if we don’t use this doc.getSettings().setRegion(CountryCode.USA) what default value it picks?
Also if we use this setting will it impact any changes to existing rendition request?
Returning zero (‘0’) for the method means success or successful termination. Any non zero value means failure. If you want to use regional/locale settings of the OS, you may even remove or skip your line of code.
Whether the ‘.’ should be replaced with ‘,’ depends on not our component, but the regional settings of specific locale. We think you may iterate all possible locales to list the separators. Code example: