A much simpler demo of what is wrong:
sfere$ python -c 'print u"\xA9";'
<a copyright symbol>
sfere$ python -c 'print u"\xA9";' >/dev/null
Traceback (most recent call last):
File "<string>", line 1, in ?
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position
0: ordinal not in range(128)
sfere$ python -V
Python 2.4.4
Is there any likelihood of this getting fixed? It makes Python
useless for use with any kind IO redirection, e.g. in pipelines.
ttfn/rjk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]