I'm using the spire doc free version to generate an invoice in PDF format for a Japanese customer using a docx template. While working in windows OS its working perfectly ok and we are getting the invoice including the Japanese characters. but in Linux we are not getting the Japanese characters , instead we are getting only squares with question mark symbols. the code is included below, please help, its urgent
Document doc=new Document();
doc.loadFromFile("template.docx");
doc.replace("No. {{serialno}}", "178542345\n", true, true);
doc.replace("20{{YY}}年{{MM}}月{{DD}}日", "2021年09月17日", true, true);
doc.replace("{{Businessname}}","東京" , true, true);
doc.replace("{{Amount}}", "12345", true, true);
doc.isUpdateFields(true);
doc.saveToFile("Result.pdf");