create-pdf-with-python-fpdf2
create-pdf-with-python-fpdf2 copied to clipboard
create pdf with non english text
Good job with these amazing projects. I want to create a pdf with the Persian text. and issued with bellow error. I appreciate it if you could help me
code:
error: p = self.pages[n].encode("latin1") if PY3K else self.pages[n] UnicodeEncodeError: 'latin-1' codec can't encode characters in position 204-209: ordinal not in range(256)
Have you solved it ?