Code Monkey home page Code Monkey logo

Comments (5)

ciur avatar ciur commented on May 21, 2024

Thank you for your feedback.

pdfinfo utility has an unexpected output :(
pdfinfo (part of poppler)- is used internally to figure out number of pages in the document.

Can you, please, run pdfinfo utility on the pdf document 2020-07-17_AGB_A02092019.pdf again and paste here the output?
Example:

eugen@dell-xps:Scans$ pdfinfo brother_003962.pdf
Creator:        Brother Scanner System
Producer:       Brother Scanner System Image Conversion
CreationDate:   Wed Jun 24 12:22:17 2020 CEST
ModDate:        Wed Jun 24 12:22:17 2020 CEST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          3
Encrypted:      no
Page size:      610.56 x 1074.24 pts
Page rot:       0
File size:      876133 bytes
Optimized:      no
PDF version:    1.4

from papermerge.

jhf2442 avatar jhf2442 commented on May 21, 2024

Here we go :

pdfinfo 2020-07-17_AGB_A02092019.pdf 
Title:          Versicherungsbedingungen
Producer:       M/TEXT CS version 6.7.0.476
CreationDate:   ��
Tagged:         no
UserProperties: no
Suspects:       no
Form:           none
JavaScript:     no
Pages:          20
Encrypted:      yes (print:yes copy:yes change:no addNotes:no algorithm:RC4)
Page size:      595.276 x 841.89 pts (A4)
Page rot:       0
File size:      181193 bytes
Optimized:      no
PDF version:    1.4

-> it's the creation date field that contains some strange data ! (yes it's two diamonds)

from papermerge.

jhf2442 avatar jhf2442 commented on May 21, 2024

here the header of the PDF

%PDF-1.4
%\252\253\254\255
4 0 obj
<<
/Title (^S\325ޥ\\\365\202\276\240^]K@\b\324諪\213"\237^GO\276\303!\262%\335\362Ӓz\\\3443iC\357^RR\256\265'\251x\344K\2260\232)
/Producer (^S\325\336\276\\\277\202\230\240+Kq\b\343\350㪭"\276^G^Z\276\333!\260%\334\362\302\222v\\\3573nC\241^R^C\256\356'\360x\255K\3030ڹ\2474نK)
/CreationDate (^S\325\336\267\\\252\202\376\240^K^[\b\207\350\363\252\335"\337^G^O\276\234!\343%\234\362\205\222.\\\2653+C\261^R^D\256\347'\367x\263K\324)
>>
endobj

from papermerge.

ciur avatar ciur commented on May 21, 2024

it's the creation date field that contains some strange data ! (yes it's two diamonds)

I think those two diamonds cause the issue (de: sind schuldig) as they might be encoded in something different than UTF-8 (just guessing).
Does the document contains sensitive information ?
In case it is just random AGB (i.e. no sensitive data) would you send me a copy of it (my email is at the very bottom of readme page)? Otherwise I have no other means of troubleshooting the issue.

from papermerge.

ciur avatar ciur commented on May 21, 2024

I received your document and fixed encoding issue.

Fix will be available in 1.4.0 (in about 2 weeks).

Thank you again for providing useful feedback!

from papermerge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.