Added single quote to list of chars that must be encoded.