utf-8 encode / decode


I've got a strange problem using "subscriberAddAndResubscribeWithCustomFields"

my php site is using utf-8 as encoding, and now, strangewise I must do this, to obtain the correct values in campaign monitor:

$cm->subscriberAddAndResubscribeWithCustomFields($email, utf8_decode($firstname).' '. utf8_decode($lastname), array('salutation' => $salutation));

it looks as those values are encoded a second time in the CMBase.php. Has anyone experienced such a problem?

(i'm using the PHP API Script 1.4.6)


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

Get started for free