"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
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
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
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
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
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