Skip to content

pdfinfo can not handle dates encoded in unicode

Adrian Johnson requested to merge ajohnson/poppler:unicode-date into master

I have a PDF that has the CreationDate string in Unicode encoding. The date displays correctly in Okular and Evince but pdfinfo prints garbage in the date field.

This MR fixes the pdfinfo date parsing and also ensures that if the date can not be parsed, the fallback to printing the date string handles unicode.

Merge request reports