jjwilly16 / node-pdftk

A wrapper for PDF Toolkit with streams and promises.
MIT License
141 stars 34 forks source link

problem with euro sign when fill form #21

Closed gcollomb closed 5 years ago

gcollomb commented 5 years ago

Hello. When I try to send euro sign €, the result is ¬

I try to type it directly const data = { value: '10 €' }

or like this const data = { value:'10 '+ String.fromCharCode(8364) }

I'have the problème on Windows 10 and on Linux Alpine.

I try with node-pdftk 2.0.1 and 1.3

ps: It work in PHP with php-pdftk and the same pdf in input.

gcollomb commented 5 years ago

It works with String.fromCharCode(8352)