Re: AW: [PythonCE] UnicodeDecodeError with print

2005-03-16 Thread Isr Gish
"Michael Foord"<[EMAIL PROTECTED]> wrote: >The encoding that I need is ``sys.stdout.encoding`` not >``sys.defaultencoding`` (as I learned yesterday). Thanks for the reply >though... > I'm not clear what you meen by sys.stdout.encoding. As far as I can tell there no such thing. Also I

Re: AW: [PythonCE] UnicodeDecodeError with print

2005-03-15 Thread Michael Foord
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Michael Foord Gesendet: Montag, 14. März 2005 13:04 An: pythonce@python.org Betreff: [PythonCE] UnicodeDecodeError with print I am wondering if anyone knows the reason as to why : print u'£' should cause a UnicodeDecodeError on python

Re: AW: [PythonCE] UnicodeDecodeError with print

2005-03-15 Thread Michael Foord
uot;<[EMAIL PROTECTED]>, "pythonce@python.org" >Subject: AW: [PythonCE] UnicodeDecodeError with print > >Hello Michael, > >this can happen with "normal" Python as well, try this running python.exe >directly. >The issue is not that you create a un

RE: AW: [PythonCE] UnicodeDecodeError with print

2005-03-14 Thread Isr Gish
ECTED]> >Sent: 3/14/05 1:06:50 PM >To: "Michael Foord"<[EMAIL PROTECTED]>, "pythonce@python.org" >Subject: AW: [PythonCE] UnicodeDecodeError with print > >Hello Michael, > >this can happen with "normal" Python as w

AW: [PythonCE] UnicodeDecodeError with print

2005-03-14 Thread anne . wangnick
the pound sign as a3. Thus, all of your string literals are actually cp1252-encoded.] Regards, Sebastian -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Michael Foord Gesendet: Montag, 14. März 2005 13:04 An: pythonce@python.org Betreff: [PythonCE] Unicode

[PythonCE] UnicodeDecodeError with print

2005-03-14 Thread Michael Foord
I am wondering if anyone knows the reason as to why : print u'£' should cause a UnicodeDecodeError on pythonce ? (The usual 'ascii codec cannot decode character...' message). Obviously the '£' character is a non-ascii character. I am just surprised that the print statement is using the ascii enc