Message112810
When reading from piped stdin, python has trouble decoding some special characters.
To reproduce, run the following command from cmd.exe:
echo ü | C:\Python31\python.exe pycat.py
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 0: character maps to <undefined>
I've been able to reproduce this in a German version of Windows Vista, which I use at work. I detected this error when trying to pipe (and parse) output from the ping command, which contains non-simple characters. If I don't pipe and just type into the program, it works just fine, even with "strange" characters. |
|
Date |
User |
Action |
Args |
2010-08-04 13:58:52 | pbos | set | recipients:
+ pbos |
2010-08-04 13:58:52 | pbos | set | messageid: <1280930332.3.0.143681677902.issue9511@psf.upfronthosting.co.za> |
2010-08-04 13:58:47 | pbos | link | issue9511 messages |
2010-08-04 13:58:46 | pbos | create | |
|