Skip to content
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

Replacement for #238 (Fix illegal encoding for MacRomanEncoding) #313

Merged
merged 3 commits into from
Jun 26, 2020

Conversation

k00ni
Copy link
Collaborator

@k00ni k00ni commented Jun 25, 2020

Replacement for #238, because its code is outdated.

Fix provided by @daneren2005

Fixes #229

No separate test case for the fix required, because the added PDF file (samples/bugs/Issue229_mac_roman_encoding.pdf) will be parsed by ParserTest::testParseFile and would trigger an exception without the fix on PHP 8. See: https://travis-ci.org/github/smalot/pdfparser/jobs/701562931#L257

Ready for merge.

k00ni added 3 commits June 24, 2020 10:14
because it wasn't triggering the faulty code and can
be replaced by testParseFile which goes into more detail.
@k00ni k00ni added the fix label Jun 25, 2020
@k00ni k00ni requested a review from j0k3r June 25, 2020 14:41
@k00ni k00ni linked an issue Jun 25, 2020 that may be closed by this pull request
Copy link
Collaborator

@j0k3r j0k3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@k00ni k00ni merged commit bc4ebf8 into master Jun 26, 2020
@k00ni k00ni deleted the pr/238 branch June 26, 2020 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mb_convert_encoding(): Illegal character encoding specified
2 participants