mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-07-15 17:12:34 +08:00
handle escaping in pdf doc encoded strings #730
This commit is contained in:
parent
90f7e4bda2
commit
5953ca9be3
@ -535,7 +535,7 @@
|
||||
{
|
||||
outputStream.WriteByte(StringStart);
|
||||
|
||||
if (stringToken.EncodedWith == StringToken.Encoding.Iso88591)
|
||||
if (stringToken.EncodedWith == StringToken.Encoding.Iso88591 || stringToken.EncodedWith == StringToken.Encoding.PdfDocEncoding)
|
||||
{
|
||||
// iso 88591 (or really PdfDocEncoding in non-contentstream circumstances shouldn't
|
||||
// have these chars but seems like internally this isn't obeyed (see:
|
||||
|
Loading…
Reference in New Issue
Block a user