Encoding problem in python

2013-03-04 Thread yomnasalah91
I have a problem with encoding in python 27 shell. when i write this in the python shell: w=u'العربى' It gives me the following error: Unsupported characters in input any help? -- http://mail.python.org/mailman/listinfo/python-list

Question about Tashaphyne package in python

2013-03-02 Thread yomnasalah91
I have a Python code that take an Arabic word and get the root and also remove diacritics, but i I have a problem with the output. For example : when the input is العربيه the output is:عرب which is right answer but when the input is كاتب the output is:ب, and when the input is يخاف the output