Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'subject:Python': 0.06; 'assignment': 0.07; 'instance.': 0.09; 'operator,': 0.09; 'cc:addr:python-list': 0.11; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Unicode': 0.16; 'syntactic': 0.16; "where's": 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'typing': 0.19; 'programming': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'skip:" 40': 0.26; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'idea': 0.28; 'chris': 0.29; 'message-id:@mail.gmail.com': 0.30; 'gives': 0.31; 'received:google.com': 0.35; 'pm,': 0.38; 'how': 0.40; 'most': 0.60; 'back': 0.62; 'more': 0.64; '8bit%:98': 0.78; 'greek': 0.84; 'palette': 0.84; 'to:none': 0.92; 'thereafter': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=f4i/l1mBj7RAZqx8ogUjdLidae3d9GgevX+IVTzOGqQ=; b=wDw3Uk5rJCJgx546D2w0i13eylVOyezprpRmVBV/qhHoM9fksF+v7ACCH2CXTp6qD3 qJtXPymNAz3jBo7D/190evJDpJ7fVO51mIWIp8RsQaSG+8I0O7UgcBlddXCF08sCYl1G xcHMzSe0/iRx3bqwXoPpOK2mA1BYb46F+BLxKYoQJEcqfotU25WSI/K4WsKuvlW1cEKc aNg7sxIAVKdHeLKDa1qZnzK500ssvGdedgzITrpst+DY/lKDaYdh52qprX/SA06wBFpO 7laZqzd8k5+Zcy6t+wonYWKOF4WbOt0meP13xl+9gMPlatBfKdtRQ/AAD+qHTkVihHJU dH3w== MIME-Version: 1.0 X-Received: by 10.221.20.199 with SMTP id qp7mr11611797vcb.24.1398232235846; Tue, 22 Apr 2014 22:50:35 -0700 (PDT) In-Reply-To: <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> References: <0f253434-5e7d-4eea-88e1-7997fec2bd2d@googlegroups.com> Date: Wed, 23 Apr 2014 15:50:35 +1000 Subject: Re: Unicode in Python From: Chris Angelico Cc: "python-list@python.org" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1398232238 news.xs4all.nl 2842 [2001:888:2000:d::a6]:59583 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70529 On Wed, Apr 23, 2014 at 3:31 PM, Rustom Mody wrote: > Chris Angelico wrote: >> it's impossible for most people to type (and programming with a palette >> of arbitrary syntactic tokens isn't my idea of fun)... > > Where's the suggestion to use a "palette of arbitrary tokens" ? > > I just tried a greek keyboard; ie do > $ setxkbmap -option "grp:switch,grp:alt_shift_toggle,grp_led:scroll" -lay= out "us,gr" > > Thereafter typing > abcdefghijklmnopqrstuvwxyz > after a Shift-Alt > gives > =CE=B1=CE=B2=CF=88=CE=B4=CE=B5=CF=86=CE=B3=CE=B7=CE=B9=CE=BE=CE=BA=CE=BB= =CE=BC=CE=BD=CE=BF=CF=80;=CF=81=CF=83=CF=84=CE=B8=CF=89=CF=82=CF=87=CF=85= =CE=B6 > > One more Shift-Alt and back to roman Okay. Now what about your other symbols? Your alternative assignment operator, for instance. How do you type that? ChrisA