At the time of generating PDF file when I am using “Hindi and Gujrati” Language then I am getting “Black Squre Dots”. Below I am using code. Here I am trying to convert in UTF-8 but it’s not converting.
file_path_PDF_new="C:\example\hello.pdf"
doc = SimpleDocTemplate(file_path_PDF_new,pagesize=letter, rightMargin=72,leftMargin=72, topMargin=72,bottomMargin=18, encoding='utf-8')
Notice = "
أكثر...
file_path_PDF_new="C:\example\hello.pdf"
doc = SimpleDocTemplate(file_path_PDF_new,pagesize=letter, rightMargin=72,leftMargin=72, topMargin=72,bottomMargin=18, encoding='utf-8')
Notice = "
أكثر...