We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Linux, passing for example footerCenter: 'abcäöüdef' won't work and will put abcdef into the footer unless the LANG environment variable is set.
footerCenter: 'abcäöüdef'
abcdef
LANG
I suggest that this library should spawn wkhtmltopdf with LANG=C.UTF-8 set.
wkhtmltopdf
LANG=C.UTF-8
My current workaround is:
wkhtmltopdf(input, { ...options, spawnOptions: { env: { LANG: 'C.UTF-8' } } // << THIS })
(I discovered spawnOptions by looking at the source code, it's not documented.)
spawnOptions
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On Linux, passing for example
footerCenter: 'abcäöüdef'
won't work and will putabcdef
into the footer unless theLANG
environment variable is set.I suggest that this library should spawn
wkhtmltopdf
withLANG=C.UTF-8
set.My current workaround is:
(I discovered
spawnOptions
by looking at the source code, it's not documented.)The text was updated successfully, but these errors were encountered: