wkhtmltopdf footer-html encoding utf-8

后端 未结 2 505
悲哀的现实
悲哀的现实 2021-02-05 01:20

wkhtmltopdf --encoding utf-8 is not working for --footer-html.

I am using the following command. Both HTML files are also in utf8 format.

wkhtmltopdf  --         


        
2条回答
  •  [愿得一人]
    2021-02-05 02:06

    Make sure you have specific font installed there. I need Hindi (Indian Language) on my PDF files. putting meta tag had not solved my problem. So i installed hindi fonts on my debian box by

    sudo apt-get install fonts-indic
    

提交回复
热议问题