[Idle-dev] Re: [Tutor] Help concerning raw_input urgently needed!

Kurt B. Kaiser kbk@shore.net
02 Sep 2002 17:35:58 -0400


"Patrick K. O'Brien" <pobrien@orbtech.com> writes:

> [Guido van Rossum]
> >
> > Try the IDLE from current CVS.  AFAIK the Unicode issues have been
> > fixed there.
>=20
> I just updated from CVS and gave it a try. :-(
>=20
> Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
> Type "copyright", "credits" or "license" for more information.
> GRPC IDLE Fork 0.8.2
> >>> a =3D raw_input("H=E4? ")
> UnicodeError: ASCII encoding error: ordinal not in range(128)

I have reapplied the patch kindly submitted by Jason Orendorff (jorend).
It was inadvertently reverted in MAIN when I moved to GvR version of=20
RPC.  DS_RPC_BRANCH is OK, fixed earlier by S. Gava.

Python 2.3a0 (#3, May  8 2002, 23:37:01)=20
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
GRPC IDLE Fork 0.8.2
>>> print u'\xbfQu\xe9 pas\xf3?'
=C2=BFQu=C3=A9 pas=C3=B3?
=20
KBK