unicode question

Albert-Jan Roskam fomcl at yahoo.com
Wed Jan 28 23:17:02 CET 2015

On Wed, Jan 28, 2015 8:21 AM CET Terry Reedy wrote:

>On 1/27/2015 12:17 AM, Rehab Habeeb wrote:
>> Hi there python staff
>> does python support arabic language for texts ? and what to do if it
>> support it?
>> i wrote hello in Arabic using codeskulptor and the powershell just for
>> testing and the same error appeared( a sytanx error in unicode)!!
>I do not know how complete the support is, but this is copied from 3.4.2, which uses tcl/tk 8.6.
>>> t = "الحركات"
>>> for c in t: print(c)  # Prints rightmost char above first

Wow, I never knew this was so clever. Is that with or without an RTL marker?

>The following StackOverflow question and response indicate that there may b more issue, but it was asked before tcl/tk 8.6 was available, so the answer may be partially obsolete.
>-- Terry Jan Reedy
>-- https://mail.python.org/mailman/listinfo/python-list

More information about the Python-list mailing list