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

vendor/campaignmonitor/createsend-php/class/serialisation.php:38 Function utf8_encode() is deprecated #119

Open
wesyah234 opened this issue Aug 16, 2023 · 5 comments

Comments

@wesyah234
Copy link

Trying with php 8.2, I received the above deprecation message. Other than that, adding and deleting subscribers worked fine.

@markmorris
Copy link

Yeah i get this too, im admin currently stays in debug mode, so this is an issue for me. Ive even tried converting the strings to UTF-8 before i give them to CM, still errors.

@markdavies
Copy link

This is still an issue for me too ...

@cardi777
Copy link

cardi777 commented May 1, 2024

issue for me too

@gedm
Copy link

gedm commented May 11, 2024

Change line 38 of serialisation.php from
$v = utf8_encode($v);
to
$v = mb_convert_encoding($v, 'UTF-8', 'ISO-8859-1');

@wesyah234
Copy link
Author

Thanks. I just looked and there are 11 open pull requests on this repo, going back to 2016, the 2 most recent ones both providing the above fix for the serialisation.php file, submitted in June 2023 and November 2023. Is it safe to say Campaign Monitor has abandoned this library? I sure hope not!

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

No branches or pull requests

5 participants