6 May
2009
6 May
'09
7:27 p.m.
Martin v. Löwis
py> b'\xed\xa0\x80'.decode("utf-8","surrogates") '\ud800'
The point is, "surrogates" does not mean anything intuitive for an /error handler/. You seem to be the only one who finds this name explicit enough, perhaps because you chose it. Most other handlers' names have verbs in them ("ignore", "replace", "xmlcharrefreplace", etc.). Regards Antoine.