If you have a form like
<input type=”text” name=”go” value=”some stuff”>
how do you deal with “some stuff” when the value is “I’m going to “say” hello”
(ie two many quotes). the answer is
single quote ‘ -> '
double quote ” -> "
as you can see by example with this html code fragment
<input size=50 name=text value=”abc123 `~!@#$%^&*()_+-=[]{}\|;':,./<>?"″>
so interestingly enough, you don’t need to escape the other chars if the value is wrapped in “.