Accent characters in campaign subject are not decoded by CC server.

Health Practitioners & Centers

Accent characters in campaign subject are not decoded by CC server.

I have upgraded my scripts to V2 recently. but I stuck with a problem that is the accented characters in the campaign subject. I tried to encode them as HTML Entities (using PHP htmlentities() function) but they appear to be same as html entities in the subject, CC Server does not decode them. if I let them as they are then the json_encode function do not encode the campaign string. please help me out how to encode them so CC server can decode them properly and show the actual characters instead of HTML code.

1 REPLY 1
Member

Hello,

 

The best solution to this problem is to set up your subject lines formatted as UTF-8 Quoted Printable. While we do not have any first-party resources for this, it should be relatively easy to do this in PHP using the built-in function quoted_printable_encode. You can read more about the function here: http://php.net/manual/en/function.quoted-printable-encode.php

 

If you have any questions or issues, please let me know!

 

Sincerely,

Elijah G.
API Support Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page