making 'utf-8' default codec

Jarek Zgoda jzgoda at o2.usun.pl
Mon Feb 27 14:46:00 EST 2006


Jorge Godoy napisał(a):

>>Bad idea. You may accidentally break some libraries that depend on ASCII
>>being default & standard.
> 
> And what would those produce as output when fed with unicode data?  How would
> they handle this input?  IMVHO nothing should rely on having a standard
> charset as input.  If it is required, then the library should set it up by
> itself: explicit is better than implicit.

Besides that, changing default encoding will make program nearly
absolutely unportable as Python by default installs nearly everywhere
with ASCII as default encoding (with iSeries being the only exception
known to me).

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list