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?
Jump to Post
The most Pythonic
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
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.