We all started somewhere! Share your experience on the Get Advice: Let's Get Started Sweepstakes thread and be entered to win a $100 credit on your Constant Contact account.

Apostrophe is replaced with #39S;

AnupriyaS
Regular Participant

Apostrophe is replaced with #39S;

Hello,

 

I am encountering a peculiar problem while creating an email campiagn programitically. The Apostophe in my email is being replaced with #39S;. Can you please help me in resolving this issue.

2 REPLIES 2
Ryan_D
Employee

Hi Anupriya,

 

When you create your email instead of using that apostrophe try to use ' and when you preview the HTML it should work. 

 

Let me know if this helps,

Ryan Davis
Quality Engineer
AnupriyaS
Regular Participant

OK. I resolved the issue by applying the following code.

 

$html= str_replace("#39;", "'", $html);

 

Thanks

Developer Portal

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

Visit Page