Skip to content

Maybe a little bug fixed#2

Open
Whotakesmyname wants to merge 1 commit intojaepil:masterfrom
Whotakesmyname:patch-1
Open

Maybe a little bug fixed#2
Whotakesmyname wants to merge 1 commit intojaepil:masterfrom
Whotakesmyname:patch-1

Conversation

@Whotakesmyname
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant