Re: [Tutor] unicode problem

2007-09-23 Thread Emad Nawfal
Hi Tutors, I've just realized that i forgot to thank Kent Johnson for his advise on Unicode. Thank you kent. Best, Emad On 9/18/07, Kent Johnson <[EMAIL PROTECTED]> wrote: > > Emad Nawfal wrote: > > *Hi All Tutors,* > > *I'm new and I'm trying to use unicode strings in my code (specifically > > A

Re: [Tutor] unicode problem

2007-09-18 Thread Kent Johnson
Emad Nawfal wrote: > *Hi All Tutors,* > *I'm new and I'm trying to use unicode strings in my code (specifically > Arabic), but I get this:* > > IDLE 1.2.1 text = ur'المصريون' > Unsupported characters in input This seems to be a problem with IDLE rather than Python itself. This message: http

[Tutor] unicode problem

2007-09-18 Thread Emad Nawfal
*Hi All Tutors,* *I'm new and I'm trying to use unicode strings in my code (specifically Arabic), but I get this:* IDLE 1.2.1 >>> text = ur'المصريون' Unsupported characters in input >>> for letter in text: print letter Traceback (most recent call last): File "", line 1, in for letter i