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


Groups > comp.lang.python > #84790

Re: unicode question

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fomcl@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.032
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'tcl/tk': 0.09; 'subject:question': 0.10; 'python': 0.11; 'jan': 0.12; 'wrote': 0.14; '>on': 0.16; '>the': 0.16; 'cet': 0.16; 'reedy': 0.16; 'subject:unicode': 0.16; 'wow,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; '>>>': 0.22; 'error': 0.23; 'char': 0.24; 'copied': 0.24; 'issue,': 0.24; 'header:Received:8': 0.24; 'question': 0.24; 'to:2**1': 0.27; 'testing': 0.29; 'am,': 0.29; 'to:no real name:2**1': 0.29; 'url:mailman': 0.30; 'asked': 0.31; 'prints': 0.31; 'url:python': 0.33; 'but': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'received:67.195': 0.60; 'received:98.137': 0.60; 'staff': 0.61; 'first': 0.61; 'complete': 0.62; 'more': 0.64; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; '2015': 0.84; 'partially': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84
X-Yahoo-Newman-Property ymail-4
X-Yahoo-Newman-Id 976910.57001.bm@omp1012.mail.gq1.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1422483422; bh=jK1CvzM+7h0z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Q0VUIFRlcnJ5IFJlZWR5IHdyb3RlOg0KDQo.T24gMS8yNy8yMDE1IDEyOjE3IEFNLCBSZWhhYiBIYWJlZWIgd3JvdGU6DQo.PiBIaSB0aGVyZSBweXRob24gc3RhZmYNCj4.IGRvZXMgcHl0aG9uIHN1cHBvcnQgYXJhYmljIGxhbmd1YWdlIGZvciB0ZXh0cyA_IGFuZCB3aGF0IHRvIGRvIGlmIGl0DQo.PiBzdXBwb3J0IGl0Pw0KPj4gaSB3cm90ZSBoZWxsbyBpbiBBcmFiaWMgdXNpbmcgY29kZXNrdWxwdG8BMAEBAQE-
X-Mailer YahooMailWebService/0.8.203.740
Date Wed, 28 Jan 2015 14:17:02 -0800
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: unicode question
To tjreedy@udel.edu, python-list@python.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18246.1422483784.18130.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1422483784 news.xs4all.nl 2968 [2001:888:2000:d::a6]:59198
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:84790

Show key headers only | 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