function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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.