Post without Account — your post will be reviewed, and if appropriate, posted under Anonymous. You can also use this link to report any problems registering or logging in.

RT 117031 - UTF8 flag in metadata date fields causes garbage

  • 0 Replies

Offline Phil

  • Global Moderator
  • Sr. Member
  • *****
  • 430
    • View Profile
Thu Aug 18 04:40:10 2016 Jeffrey.Ratcliffe [...] - Ticket created
Subject:    UTF8 flag in metadata date fields causes garbage
In the date metadata fields passed to the info() method, if the utf8 flag is set, pdfinfo reports garbage in the resulting PDF metadata.

I am working around it by unsetting the utf8 flag as follows:

Code: [Select]
$h{CreationDate} = encode('ASCII', "D:$year$month$day"."000000+00'00'");

Perhaps you could do this in the info() method.