pdfminer3k
pdfminer3k copied to clipboard
Maybe a little bug fixed
As files pdfminer reads are in byte mode, so here varible s is type of bytes and the startswith function is bytes.startswith instead of str.startswith, so there should be an "b" before '\xfe\xff', or TypeError will be raised.