I use python reportlab(window10, python3.6) to write text in the page, when the text is English it works, but when I use Arabic text it writes messy code in the image.
Below is my code:
from reportlab.lib.units import mm
from reportlab.lib.pagesizes import A4
from reportlab.pdfgen import canvas
page = canvas.Canvas("test.pdf", pagesize=A4)
page.drawString(10*mm, 267*mm, "اللغة العربية")
page.showPage()
page.save()