Apostrophe in string appearing as a box when output to HTML
Posted on 2006-04-19
I posted a similiar question in the past where I had the issue of a box appearing in instead of quotation marks...and this was solved....but I am still having the same issue with the apostrophe and I can't seem to get it to work.
A brief description:
// Create a regular expression to search all +s in the string
my_string = unescape(String(psEncodeString).replace(/\+/g, " "));
my_string = my_string.replace(/\%3e/g,'"');
my_string = my_string.replace(/[\x93\x94]/g,'"');
This works great for the quotations...but I've tried adding another replace to remove the apostrophe without any luck. I will paste an example of the string as I see it output to the screen (I see it as a box...but when the post to this thread occurs, it will show the character value).
...NOW’S THE TIME! Check out these...
Any help would be MUCH appreciated.
Thanks in advance!