feat: Force UTF-8 encoding of input characters
This commit is contained in:
parent
01b2613efe
commit
f61bbd312f
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ public class FileToPdf {
|
|||
List<String> command = new ArrayList<>();
|
||||
if (!htmlFormatsInstalled) {
|
||||
command.add("weasyprint");
|
||||
command.add("-e utf-8");
|
||||
command.add(tempInputFile.toString());
|
||||
command.add(tempOutputFile.toString());
|
||||
|
||||
|
|
Loading…
Reference in a new issue