SebastiaanKlippert / go-wkhtmltopdf

Golang commandline wrapper for wkhtmltopdf
MIT License
1.06k stars 146 forks source link

Arabic script is damaged #85

Closed hasanAjsf closed 2 years ago

hasanAjsf commented 2 years ago

I tried using this library, and it is great, but it failed with Arabic script, as it is not printed correctly, It is appearing something like Ù...رØ​Ø ̈ا

I read this but did not know what shall I do

hasanAjsf commented 2 years ago

I resolved it using the below in the html file:

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>