cancel
Showing results for 
Search instead for 
Did you mean: 

Apostrophe is replaced with #39S;

Occasional Contributor

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
CTCT Employee

Re: Apostrophe is replaced with #39S;

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
Occasional Contributor

Re: Apostrophe is replaced with #39S;

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

 

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

 

Thanks