With the help of bucabay we are able to encode special characters into html entities below link for ref: (How to convert characters to HTML entities using plain JavaScript) Now we want to decode them i.e.how to convert HTML entities into special characters again.
Regards, AA.