[Python-Dev] Relaxing Unicode error handling
Martin v. Loewis
martin at v.loewis.de
Sat Jan 3 06:44:52 EST 2004
People keep complaining that they get Unicode errors
when funny characters start showing up in their inputs.
In some cases, these people would apparantly be happy
if Python would just "keep going", IOW, they want to
get moji-bake (garbled characters), instead of
exceptions that abort their applications.
I'd like to add a static property unicode.errorhandling,
which defaults to "strict". Applications could set this
to "replace" or "ignore", silencing the errors, and
risking loss of data.
What do you think?
More information about the Python-Dev