Skip to content

Conversation

josephw
Copy link
Contributor

@josephw josephw commented Mar 28, 2013

Move the logic to catch invalid encoding outside the attempt
at UTF-16 decoding to catch byte arrays that start with a BOM.

Move the logic to catch invalid encoding outside the attempt
at UTF-16 decoding to catch byte arrays that start with a BOM.
mstamy2 added a commit that referenced this pull request Jun 26, 2013
Don't assume that strings starting with a BOM are valid UTF-16.
@mstamy2 mstamy2 merged commit 415026a into py-pdf:master Jun 26, 2013
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.

2 participants