[thelist] replacing Word elements

Andrew Martin andrewdmartin at gmail.com
Wed Apr 26 13:31:00 CDT 2006

I'm using ASP's Replace function to remove hard-coded elements from
text and replace it with HTML encodings.  One element isn't being
recognized and stripped, even after using the literal character.  It's
some sort of em-dash.  I copy the character from Word and place it in
the code like so:
Replace(textname,"---","—") (where '---' is the literal dash)

Is there a better way to find the encoding for replacement?


More information about the thelist mailing list