Re: making 'utf-8' default codec

2006-02-27 Thread Jarek Zgoda
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 i

Re: making 'utf-8' default codec

2006-02-27 Thread Jorge Godoy
Jarek Zgoda <[EMAIL PROTECTED]> writes: > 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 char

Re: making 'utf-8' default codec

2006-02-27 Thread Scott David Daniels
Nikola Skoric wrote: > Is there a way of making 'utf-8' default codec for the whole program, so > I don't have to do .encode('utf-8') every time I print out a string? Explicit is better than implicit (so setting up a default codec is considered bad practice). However, you could wrap an output de

Re: making 'utf-8' default codec

2006-02-27 Thread Jarek Zgoda
Nikola Skoric napisał(a): > Is there a way of making 'utf-8' default codec for the whole program, so > I don't have to do .encode('utf-8') every time I print out a string? Bad idea. You may accidentally break some libraries that depend on ASCII being default & standard. -- Jarek Zgoda http://j