[Python-Dev] PEP 383 update: utf8b is now the error handler (original) (raw)

Terry Reedy tjreedy at udel.edu
Tue May 5 10:57:03 CEST 2009


M.-A. Lemburg wrote:

On 2009-05-03 19:39, Martin v. Löwis wrote:

If the error handler is supposed to be used for codecs other than utf-8, perhaps it should renamed something more generic, e.g. "surrogate-escape"? Perhaps. However, utf-8b doesn't really have to do anything with utf-8 - it's an algorithm based on 16-bit or 32-bit code points. If the error handler doesn't have anything to do with UTF-8, then why do you use "utf8" in the name. Please use a more descriptive name for the handler which does not cause confusion with a existing codec.

Having already been confused, I agree.



More information about the Python-Dev mailing list