WTF? Printing unicode strings

Serge Orlov Serge.Orlov at gmail.com
Thu May 18 18:52:03 EDT 2006


Ron Garret wrote:
> In article <mailman.5906.1147989402.27775.python-list at python.org>,
>  Robert Kern <robert.kern at gmail.com> wrote:
>
> > Ron Garret wrote:
> >
> > > I forgot to mention:
> > >
> > >>>>sys.getdefaultencoding()
> > >
> > > 'utf-8'
> >
> > A) You shouldn't be able to do that.
>
> What can I say?  I can.
>
> > B) Don't do that.
>
> OK.  What should I do instead?

Exact answer depends on what OS and terminal you are using and what
your program is supposed to do, are you going to distribute the program
or it's just for internal use.




More information about the Python-list mailing list