I have an html document that contains hundreds of special chracters (such as em dashes, smart apostrophes, accent egrave, etc) that I would like to convert to their html equivalents.
For example, my document contains an "em dash" (—), which I would like to convert to:
—
Of course, my html document contains html tags. I do not want to convert parts of the html tags (such as "<" or ">") to html equivalents.
Is there any tool (php script, web application, desktop application, etc) where I can upload my html document, and that same document is returned, but modified to include html equivalents as needed?
I have many documents, with many special characters. I would like to avoid having to use "find and replace" (for each special character) as a solution... would take too long.