I'm using PayPal IPN and inserting the IPN data message into our database. I noticed that it's a partial object. I'm assuming that the serialize is failing and not the insert. No error is reported from the DB or from the server.
For example, this is a partial serialization. First part is left off by me:
... s:1:"4";s:12:"address_city";s:23:"COACALCO DE BERRIOZ
It's stopping directly after BERRIOZ. No closing quote, etc.
That value is address_city=COACALCO DE BERRIOZÁBAL. So it stopped at the accent character.
The character encoding is UTF-8. I verified encoding with:
echo mb_internal_encoding();
And it reports UTF-8. I also ensure that the mysqli charset is UTF-8 with:
mysqli_set_charset($connect, "utf8");
Like I reported, no errors from the DB or via error_handler? The IPN object is serialized fine with non-accent values. I discovered the issue when trying to view the record and unserialize() reported a problem.