I am having a string which contains some special characters. ie "MCDO'S ". here in the code i am replacing it with the ascii html values like this.
riDescription.replace("\"", "").replace("\\", "").replace("'", "'");
here '
is replaced by '
Now the result which i am getting in UI is like this.