News for hackers. Stuff that matters.
Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by qingcharles on Saturday September 30, 2023 @06:08PM (#37720387)
I needed this last night when I was trying to edit some text in a PDF and I ended up having to use iText Rups to browse the tree.

Is there a way to view the stream content in ASCII/Unicode instead of Base64/Hex?

Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by hyzyla on Sunday October 01, 2023 @08:20AM (#37725239)
Thanks for the idea. I added this feature a few minutes ago [1]. I'm trying to convert stream content to UTF-8. Maybe later, I will add a more flexible solution to convert to other encodings.

1. https://imgur.com/a/69rbYMw

Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by qingcharles on Sunday October 01, 2023 @01:52PM (#37728506)
My bad, I meant UTF-8. My brain had a relapse to 1988.

And, thank you!

Re:Show HN: PDF Debugger – Inspect Structure of PDF Files by qingcharles on Sunday October 01, 2023 @01:58PM (#37728582)
This works perfectly now on my test files. I can find the pages that have specific strings I was looking for.

This has saved me clogging up my PC by installing the Java runtime and iText RUPS.