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

Remove deprecated UTF8_decode from FpdfOutput.php #211

Merged
merged 1 commit into from
Dec 18, 2022
Merged

Remove deprecated UTF8_decode from FpdfOutput.php #211

merged 1 commit into from
Dec 18, 2022

Conversation

codingphildotdev
Copy link
Contributor

Hi

since utf8_decode has been deprecated on PHP8.2 it spits out notices.

I use FPDF also on other places and had the same there. According to the FPDF FAQ no.3 they recommend to use iconv() to convert 'UTF8' to 'windows-1252' which is expected.

The tests no produce errors, since I didn't manage to renew the .png-files in the QrCodes Test data.
Alltough the PDF's looked correct and scanning the QR-Code with my ebanking-app worked.

Thanks a lot for your work!

philipp

@sprain
Copy link
Owner

sprain commented Dec 18, 2022

Thanks a lot!

@sprain sprain merged commit 3b6e424 into sprain:master Dec 18, 2022
@codingphildotdev codingphildotdev deleted the removeDeprecatedUtf8-decode branch December 18, 2022 19:04
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.

None yet

2 participants