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


Groups > comp.lang.python > #84724 > unrolled thread

Re: unicode question

Started byTerry Reedy <tjreedy@udel.edu>
First post2015-01-28 02:21 -0500
Last post2015-01-28 01:58 -0800
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#84724 — Re: unicode question

FromTerry Reedy <tjreedy@udel.edu>
Date2015-01-28 02:21 -0500
SubjectRe: unicode question
Message-ID<mailman.18207.1422429712.18130.python-list@python.org>
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

[toc] | [next] | [standalone]


#84736

Fromwxjmfauth@gmail.com
Date2015-01-28 01:58 -0800
Message-ID<2aabb47c-f222-4d67-99e1-450f2afefaa6@googlegroups.com>
In reply to#84724
One way is to work with Py32 and a dedicated Qt widget.
Arabic, Farsi (Persian), Urdu, ... scripts are far beyond
my knowledge. In my "unicode plain text" editor, I have no
problem to blindly cut/copy/past works coming for a TeX unicode
engine or entering these chars from the keyboard.
Now it is no more working properly when it works!

For a serious work and from what I know on that
precise field, c# is very valuable solution.
On the Apple side, zero experience.

jmf

PS The latest tcl (or Py implementation) is broken
on the side of Latin chars!

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web