Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #84790

Re: unicode question

Date 2015-01-28 14:17 -0800
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: unicode question
Newsgroups comp.lang.python
Message-ID <mailman.18246.1422483784.18130.python-list@python.org> (permalink)

Show all headers | View raw


----------------------------
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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: unicode question Albert-Jan Roskam <fomcl@yahoo.com> - 2015-01-28 14:17 -0800

csiph-web