"Smart quotes are a feature found in many popular word processing
programs. They're smart because they automatically insert open
quotation marks at the beginning of a word and closed quotation marks
at the end. Unfortunately, HTML is not smart enough for smart quotes
since they aren't plain ASCII, so if you have smart quotes in your
code, you'll end up with some strange characters on your Web page. Be
sure to have smart quotes turned off whenever writing HTML code. "
Actually, just put the appropriate character set declaration in your
code, and it works nicely:
<meta http-equiv='Content-type' value='text/html; charset=iso8859-1' />
If you speak English and the smart quotes are one byte, then iso-8859-1
is for you. If they're two bytes, then UTF-8 is the character set that's
being used.
If you're not in a primarily English-speaking country, it'll be iso-
8859-something-else (-2 for poland, I know -- there's a list if you
look.)