print u"\u0432": why is this so hard? UnciodeEncodeError

Michael Hudson mwh at python.net
Mon Apr 12 16:33:14 EDT 2004


"Martin v. Löwis" <martin at v.loewis.de> writes:

> Skip Montanaro wrote:
> >     Martin> I wonder how much would break if Python would assume the
> >     Martin> terminal encoding is UTF-8 on Darwin. Do people use different
> >     Martin> terminal encodings?
> > I generally use xterm instead of Terminal.app.  I think it's
> > encoding is
> > latin-1.
> 
> Not on OS X. Terminal.App is a software package completely different
> from xterm. For one thing, xterm is for X11, whereas Terminal.App is
> for Window Server (or whatever the name of the Apple GUI is).

I think Skip knows this :-)

Cheers,
mwh

-- 
  You can lead an idiot to knowledge but you cannot make him 
  think.  You can, however, rectally insert the information, 
  printed on stone tablets, using a sharpened poker.        -- Nicolai
               -- http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html



More information about the Python-list mailing list