I am using Python 2.7 and i try to print Arabic strings like these
print "ذهب الطالب الى المدرسة"
it's give the following output:
ط°ظ‡ط¨ ط§ظ„ط·ط§ظ„ط¨ ط§ظ„ظ‰ ط§ظ„ظ…ط¯ط±ط³ط©
The purpose is to print the text correctly, and not how to print each line. So, how can I print the string or content of text file correctly in its original form? like:
ذهب الطالب الى المدرسة
You need to add some line before your code