How to export data html to pdf support utf 8

what is the best easy to export html data to pdf support utf8

I’d do it server-side using an NPM package: