After creating the FPDF object I set certain things like:
pdf.SetKeywords("one, two, three", false)
pdf.SetSubject("export of metadata", true)
pdf.SetTitle("Test document", false)
pdf.SetAuthor("John doe", false)
But as you can see from the image below, when viewing the document some of those properties are either garbled or empty. Even the title is garbled. It doesn't matter if I set the UTF8 flag to true or false.

After creating the FPDF object I set certain things like:
But as you can see from the image below, when viewing the document some of those properties are either garbled or empty. Even the title is garbled. It doesn't matter if I set the UTF8 flag to true or false.