+ Start a Discussion
Tejpal KumawatTejpal Kumawat 

Junk Data from body of document

Hi ,


I am using “ instead of " and ’ instead of ' , in VF page there i got �



I have used also 

bodyText = d.body.toString().replace('“','\"');
bodyText = d.body.toString().replace('’','\'');


But not get success.. Please help...


Try using the HTML code for each character instead of the character itself.