Replies: 1 comment 7 replies
-
Although it is no clean solution, you should probably be able to monkey-patch the corresponding method with custom logic. How would you expect a clean solution to look like for this? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would be the best way to get a raw representation of a
NameObject
? I'm seeing PDFs withNameObject
s encoded inMacRoman
instead of UTF-8 on regular basis and would like to have a bit of flexibility in how to decode them. Currently,pypdf
tries to decode UTF-8 and failing that falls back togbk
, i.e. unified Chinese, which is not what I want or expect, however I cannot access the raw string to implement some conversion myself.Beta Was this translation helpful? Give feedback.
All reactions