[Python-Dev] Re: Relaxing Unicode error handling

Martin v. Loewis martin at v.loewis.de
Sat Jan 3 16:53:36 EST 2004


Jack Jansen wrote:

> Because if that is so, then isn't the best way to implement this to
> not bother with sys.relaxedunicodeerrors, but in stead use a special
> encoding name (or a parameter to an encoding name, such as 
> "us-ascii;relaxed")?

I would not know how to implement this scheme, if you want it to work
for all codecs.

Also, I want the error handling to be changable at run-time, whereas
I maintain that the system default encoding should always remain ASCII.

Regards,
Martin




More information about the Python-Dev mailing list