This is just a short post about the characters that can cause issues when you try to convert them to HTML or XML. This is the precursor to another related post, but I wanted to get these out here for posterity, my own reference, and to try to goad me into doing the next blog post.

The following characters don't play well with XML and HTML and should be encoded to make them safe for these uses.

Character Encoding
''
""
<&lt;
>&gt;
&&amp;

Be prepared, this was in preparation for a SQL blog entry!