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)


200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free