I have been searching around on the internet and have found lots of discussions about regex for stripping out or fixing special characters coming through in HTML, but I am looking for a different solution.
I have some text coming through that looks like this: 12DR - Constant™ Cloth.
That texts comes through and when I append it to a div on my page, it looks like this: 12DR - Constantâ„¢ Cloth.
I don't know all of the special characters coming through. Is there some function that I am missing that cleans up the text to show in HTML properly without me having to manually write regex for each possible character?