Hi,
I am extracting nodes from uploaded document, creating a document with the extracted nodes and converting it to html. using below code,
ByteArrayOutputStream docStream = new ByteArrayOutputStream();
dstDocument.save(docStream, saveOptions);
String dstHtml = docStream.toString();
I am deploying our war file including aspose jars on a docker container, where it is creating an issue in the converted html.
If the uploaded document contains any smart quotes for single quotes
or double quotes
, they are getting converted to question marks.
And its happening on the application running inside a docker, where as it is working fine on the application running directly on tomcat on ubuntu(version 18).
I am adding the sample input input.docx (15.9 KB) and output output.docx (16.2 KB).
Is there any setting I have to do while adding aspose in docker ?
Please help me to figure out this issue.
Thank you