Hello.
There is a text in my Python script that is in Persian language and the letters are from left to right, but in Persian language letters should be written from right to left.
What should i do now to fix it and print it in UTF-8 format?
Niloofar24
15
Posting Whiz
Recommended Answers
Jump to PostThe most Pythonic
[::-1]
There is also reversed used with join().Python34 handels Unicode good if you get Persian language correct decoded into Python34.
…
In Python34 are all strings a sequences of Unicode characters.
Just so you know,there is a big difference between Unicode handling Python 2 and 3.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.