This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients loewis, ocean-city
Date 2008-03-17.13:36:26
SpamBayes Score 0.00073936954
Marked as misclassified No
Message-id <1205760987.23.0.170049202534.issue2301@psf.upfronthosting.co.za>
In-reply-to
Content
>However, I also fail to reproduce the problem on OSX. I get
>
>  File "a.py", line 3
>    print "�N"
>             ^
>SyntaxError: invalid syntax

Umm, strange... I can output correct result even if
using euc_jp (my terminal named command prompt cannot
output euc_jp string directly, AFAIK)

> print("\ufffd")

>>> print("\ufffd")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "e:\python-dev\py3k\lib\io.py", line 1247, in write
    b = encoder.encode(s)
UnicodeEncodeError: 'cp932' codec can't encode character '\ufffd' in
position 0:
 illegal multibyte sequence
History
Date User Action Args
2008-03-17 13:36:27ocean-citysetspambayes_score: 0.00073937 -> 0.00073936954
recipients: + ocean-city, loewis
2008-03-17 13:36:27ocean-citysetspambayes_score: 0.00073937 -> 0.00073937
messageid: <1205760987.23.0.170049202534.issue2301@psf.upfronthosting.co.za>
2008-03-17 13:36:26ocean-citylinkissue2301 messages
2008-03-17 13:36:26ocean-citycreate