Search in your favorite search engine for encoding curly quotes in HTML.
The first page that came up for me [dwheeler.com ] describes how to correctly encode them.
What scripting language are you using? Many of the have an html encode method that will correctly convert them so that they will be correct. e.g. Left Double Quotation Mark “