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?
The 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.
>>> s = 'ԈԇՄՋֆ'
Hmm look like Persian character has a problem here.
I'm sorry that I can't answer directly so I suggest you try the main mailing list ator. The people there have forgotten far more than I've ever known about unicode, so I'm certain that you'll get very sound answers :)
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World ...