atgp / factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files
MIT License
87 stars 22 forks source link

add polyfill for utf8_encode function to prevent deprecation notice on PHP 8.2+ #22

Closed crozet-magenta closed 1 year ago

crozet-magenta commented 1 year ago

Related to this issue https://github.com/atgp/factur-x/issues/20

I used multiple replacements to keep compatibility with most use cases.

crozet-magenta commented 1 year ago

@lucas-gp Hi, would it be possible to merge this PR and bump the version of the package please ?