I am using AWS Lambda for generating pdf where html-pdf
is the npm package. everything works flawless but the problem is with Hindi
character. the characters appear gibberish and understandable something like as shown in attached image.
Packages used
- html-pdf
- ejs
Things i tried:
i used same nodejs based code on my local machine and it was working as expected. but not working on Lambda (nodejs v6.10/8.10)