parsing non-ascii characters

2008-11-09 Thread Ronn
Hello all, I have a list: suffix = [aĉ, ad, aĵ, an, ar] and I'm trying to check a word to see if any of the suffixes exist in the list for example: if word in suffix: print A suffix exist in your word when I run this it give me an error: SyntaxError: Non-ASCII character '\xc5' in

Re: parsing non-ascii characters

2008-11-09 Thread John Machin
On Nov 10, 1:13 pm, Ronn [EMAIL PROTECTED] wrote: Hello all, I have a list:   suffix = [aĉ, ad, aĵ, an, ar] and I'm trying to check a word to see if any of the suffixes exist in the list for example:   if word in suffix:       print A suffix exist in your word when I run this it give me

Re: parsing non-ascii characters

2008-11-09 Thread 一首诗
On Nov 10, 10:13 am, Ronn [EMAIL PROTECTED] wrote: Hello all, I have a list:   suffix = [aĉ, ad, aĵ, an, ar] and I'm trying to check a word to see if any of the suffixes exist in the list for example:   if word in suffix:       print A suffix exist in your word when I run this it give