Wrong encoding (non-english)

Hi,
I have this PHP code (in UTF-8), it works correctly, but in "Manage subscribers" I see wrong characters.

$cm->subscriberAddAndResubscribeWithCustomFields($_POST['userContactEmail'], $_POST['userSurname'], array('Town' => $_POST['userAddressTown']));

For example:
In userAddressTown is Prostějov, but in subscribers Prostějov.

janzatloukal, 7 years ago

I try  utf8_decode($_POST['userAddressTown']) and outcome is Prost?jov, it's better :-)

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098