-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: CSV output #75
Comments
You can certainly write a printer to do that -- take a look at the Json output for an example: If you don't want to do that, perhaps take json from pdfannots and convert it to csv: |
Thanks -- yeah took a quick look, seems possible. Might look at it indeed, thanks for the pointer. |
[Beginner's level question] I would like to ask if there is an option [or rather how to set it] to use encoding that contains Polish and German special signs. Correct version I tried to modify the json file but I stuck. :/ Console line: pdfannots "path" -f json > directories\json_to_csv.txt Some additional information:
Best regards |
@Proeliorr this has nothing to do with CSV. Why are you commenting on this issue? In any case, pdfannots always outputs utf8, and indeed 00f6 is the unicode codepoint for ö (https://codepoints.net/U+00F6) -- I think perhaps you need to tell your text editor to use the utf8 encoding. |
@0xabu After some consideration I agree. The file was re-saved in utf8 encoding, notepad++ sees it as an utf8 encoded file. That is where the problem lies. Nevertheless, I will not disturb the given below topic anymore. I think it is not a pdfannots case further. |
@Proeliorr I took another look at this, there is something fishy going on with output redirection on Windows. I've created #84 to track it. Luckily it has a pretty simple workaround -- use |
Would love CSV output like this:
Sounds like that should be possible but not sure how. Great tool, thanks!
The text was updated successfully, but these errors were encountered: