Implements the 'namereplace' error handling, which replaces an unencodable character with a \N{...} escape sequence.
codecs/namereplace_errors
namereplace_errors