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


Groups > comp.lang.python > #84724

Re: unicode question

From Terry Reedy <tjreedy@udel.edu>
Subject Re: unicode question
Date 2015-01-28 02:21 -0500
References <CAA3NwWquCX54YBh15Kd_ncOtpe49nJyF_wRqEeBL6nCY0Py7Pg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18207.1422429712.18130.python-list@python.org> (permalink)

Show all headers | View raw


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
ا
ل
ح
ر
ك
ا
ت

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

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


Thread

Re: unicode question Terry Reedy <tjreedy@udel.edu> - 2015-01-28 02:21 -0500
  Re: unicode question wxjmfauth@gmail.com - 2015-01-28 01:58 -0800

csiph-web