Table: Reduce characters that get encoded to just illegal in XML ones

Fix for #111