Open SpringsTea opened 4 years ago
I have the same issue..
may be the problem comes from the function
escapeFdf(data)
Having the same problem with Swedish characters "åäöÅÄÖ".
Tried adding the extra argument need_appearances
but that did not help https://www.pdflabs.com/docs/pdftk-man-page/#dest-output-need-appearances =(
I'm also having this issue when trying to use it like this
fillPdf.generatePdf(data, filePath, ['need_appearances'], (err, output) => (err ? reject(err) : resolve(output)))
Same for Czech characters too.
I'm doing some form filling and have to accommodate Japanese text. This does not seem to be supported with the default options.
This will output a pdf with my text field filled with:
ã…Žã…«ã‡¼ã…«ã‡°ç”‰åł½ç¬¬ä¸•ç”‰å¥³ ㇢㇤ㅪㇹ
How do I configure this to allow the correct encoding?