Sunday, 15 April 2012

encoding - how to encode arabic characters in python -



encoding - how to encode arabic characters in python -

i'm stuck encoding standard arabic characters using python 2.7 in pydev eclipse tried # -*- coding: utf-8 -*- solution no results.

i errors:

syntaxerror: non-ascii character '\xd8' in file e:\python\rh\src\recherche.py on line 371, no encoding declared; see http://www.python.org/peps/pep-0263.html details

i want print standard arabic word صباح الخير يا صاحبي in pydev environment or print in wx widget graphically.

python encoding pydev

No comments:

Post a Comment