Implements the 'xmlcharrefreplace' error handling, which replaces an unencodable character with the appropriate XML character reference.
codecs/xmlcharrefreplace_errors
xmlcharrefreplace_errors