This commit is contained in:
Anthony Stirling
2024-10-06 23:32:28 +01:00
parent 378d0f8afb
commit 1129487aaf
3 changed files with 9 additions and 6 deletions

View File

@@ -54,7 +54,9 @@ public class FileToPdf {
List<String> command = new ArrayList<>();
if (!htmlFormatsInstalled) {
command.add("weasyprint");
command.add("-e utf-8");
command.add("-e");
command.add("utf-8");
command.add("-v");
command.add(tempInputFile.toString());
command.add(tempOutputFile.toString());
} else {