Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'languages.': 0.04; 'say,': 0.05; 'subject:Python': 0.06; '(using': 0.07; 'subject:language': 0.09; 'used.': 0.09; 'cc:addr:python-list': 0.11; "wouldn't": 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hex': 0.16; 'organizes': 0.16; 'planes': 0.16; 'reasonably': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:unicode': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'keyboard': 0.24; 'lets': 0.24; 'unicode': 0.24; 'cc:2**0': 0.24; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'leave': 0.29; 'character': 0.29; 'characters': 0.30; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; '25,': 0.31; 'bad.': 0.31; 'allows': 0.31; 'actual': 0.34; 'could': 0.34; 'received:google.com': 0.35; 'add': 0.35; 'version': 0.36; 'pm,': 0.38; 'users': 0.40; 'skip:u 10': 0.60; 'first': 0.61; 'maximum': 0.63; 'love': 0.65; 'mar': 0.68; 'press': 0.70; 'subject:this': 0.83; '200k': 0.84; 'actually,': 0.84; 'keystrokes': 0.84; 'to:none': 0.92; 'average': 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=8XUHYZoAfif1S02mjI42Eaa3YpgGhFGORnuxL/U1wrQ=; b=hd6cFpkK/bt01yfdi+/b026FEa9TuMJVSy8FLnLLRC0Uxpkg1+uRRSBAURd4fLSdF2 1Q38pw0e3V+WhzdEg2ZJrNcMTKYCAMUSH6sfwLr2PqM0rIoM3jZ6+LVEOMOo1M5iykkw Kuizxf5t1sEYlRUH3WjlQIgYC5RnmqhMLqr3H9Z2NTKT2hJkso+BrAo2lkBwgrQ5LZ0T FGYS93tatqJShfKQdMCtUHi+jdDZ0csUltvnu04HxqUZBmw4QnxQGuG9SHKZHCTi+8B0 Mu85iuvzF6k2aaC3ssrcwnfyRTD6edkOLgx0a8jxhCvbWav4qwDd+zulwwOGABLBNw2O OcdA== MIME-Version: 1.0 X-Received: by 10.66.27.202 with SMTP id v10mr13259220pag.127.1395721788492; Mon, 24 Mar 2014 21:29:48 -0700 (PDT) In-Reply-To: <281c8ce1-4f03-4e93-b5cd-d45b85e89e7e@googlegroups.com> References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <10101874-2995-4acd-9851-989603f052e3@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0b78649a-16b3-4410-8258-e859578d62be@googlegroups.com> <281c8ce1-4f03-4e93-b5cd-d45b85e89e7e@googlegroups.com> Date: Tue, 25 Mar 2014 15:29:48 +1100 Subject: Re: Time we switched to unicode? (was Explanation of this Python language feature?) 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395721791 news.xs4all.nl 2865 [2001:888:2000:d::a6]:43688 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68952 On Tue, Mar 25, 2014 at 3:08 PM, Rustom Mody wrote: > And Chris is right in (rephrasing) we may have unicode-happy OSes and > languages. We cant reasonably have unicode-happy keyboards. > [What would a million-key keyboard look like? Lets leave the cost aside..= .] Actually, it wouldn't be that bad. Unicode allows for only 1114112 characters (thanks to UTF-16), of which only the first three planes have any actual characters on them (so, a maximum of about 200K characters). All you'd need would be a system that organizes them (using their hex codepoints isn't exactly useful), and you could type any character with a maximum of, say, 6-8 keystrokes; Huffman coded, of course, so the average would be 1.5 keystrokes per character actually used. Add one meta key: Charset. Hold that and press L and you get (say) =CE=BB, U+03BB; Charset+Shift+L is =CE=9B, U+039B. Ctrl+Chars= et+L might give you a Cyrillic =D0=BB (U+043B), and Ctrl+Charset+Shift+L would then be =D0=9B (U+041B), the upper-case version of that. Emacs users would love it. ChrisA