pdf-lib icon indicating copy to clipboard operation
pdf-lib copied to clipboard

not possible to use setAuthor with german umlauts

Open zonky2 opened this issue 9 months ago • 0 comments

What were you trying to do?

If the Author field contains an umlaut such as

pdfDoc.setAuthor('Hülögü Ätölü')

, the value is not set

How did you attempt to do it?

x

What actually happened?

x

What did you expect to happen?

x

How can we reproduce the issue?

x

Version

1.4.0

What environment are you running pdf-lib in?

Browser

Checklist

  • [x] My report includes a Short, Self Contained, Correct (Compilable) Example.
  • [x] I have attached all PDFs, images, and other files needed to run my SSCCE.

Additional Notes

x

zonky2 avatar May 16 '25 17:05 zonky2