empira / PDFsharp-1.5

A .NET library for processing PDF
MIT License
1.28k stars 588 forks source link

Correctly read the DocumentID when it was parsed as a unicode string #119

Closed scasteran closed 1 year ago

scasteran commented 4 years ago

Fix #118 by decoding the DocumentID when it has been parsed as a unicode string.

A better fix would be to not parse the DocumentID as a unicode string in the first place in Lexer.ScanHexadecimalString, but I could not find some kind of context property to do so.

ThomasHoevel commented 1 year ago

Included in PDFsharp 6.0.0-Preview-2.