"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
Thanks for the reply Sebastian - very helpful. I didn't know about
``sys.stdout.encoding`` which was part of the missing information. You
filled in a lot more.
The PDA itself is capable of displaying all sorts of weird and wonderful
characters - I wonder if it's possible to access this function
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
Hello Michael,
this can happen with "normal" Python as well, try this running python.exe
directly.
The issue is not that you create a unicode object, the issue is that you
want to print it. On the PC when using IDLE, sys.stdout.encoding is set to
"cp1252". For file objects, "when Unicode strings a