Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Double quote from MS Word gets converted to “

$
0
0

I have aspx pages where I receive content that was written in MS Word, and then copy/paste into the page's content.  In cases where the person generating the content typed a single or double quote in word:

'test' or "test"

MS Word converted the quotes to

‘test’ or “test”

where the quotes are now slanted. 

When I run this in an aspx page the quotes convert to scrambled text like this:

“test”

I even put this content into CDATA elements and got the same result.  However, when I run this content in an htm page, all looks correct with no scrambled characters.

Is there a setting I need to configure in VS2012 for this, or do I need to do a search and replace to change all punctuation marks from word to what Notepad would generate?

Thanks.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>