Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '21,': 0.07; 'encoded': 0.07; 'string': 0.09; 'differently.': 0.09; 'subject:few': 0.09; 'subset': 0.09; '16-bit': 0.16; 'doing,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guilty': 0.16; 'wrote:': 0.18; '(not': 0.18; 'coding': 0.22; 'unicode': 0.24; 'equivalent': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'points': 0.29; 'characters': 0.30; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'schemes': 0.31; 'fri,': 0.33; 'implemented': 0.33; 'something': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'handle': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'units': 0.60; 'more': 0.64; 'beloved': 0.84; 'common,': 0.84; 'points,': 0.84; '2013': 0.98 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:to :content-type; bh=yeyOClxMDpgas6J3NBQ/wuzsrwYllpoNk7sNOyYdwK4=; b=egQ8EYtQMgvaUZlZ68MptrN9KWIGaiXfZv++/r2ZnnAN68JnGVmJJUOeRazc8+hgmm JNoPeC6M811kfVig004XZ+QtbYxIvx0A1XaURwOBBfuu7VENVcO5OYoQHBwUyIXy6c9+ oQsxcdrXYaVxY52BelCddngFj4fhM0GoLVyoqJk0K8QfDXbtu2t7vKfXBF8Eo1nB19kd RfJGgKnBlo8ckCv6/7diGqLeeAWcYSvgewchdDNs/A1Z44VGVmM0LCfiFP6t6V8FQ+GE azZMqnB03RMD+hSPghAoGhmkHxnfL6cEmXdC/EUAK4/oqRqQEXQQdRueadZPknChg1uu Kl/Q== MIME-Version: 1.0 X-Received: by 10.220.169.146 with SMTP id z18mr3267829vcy.80.1371746268353; Thu, 20 Jun 2013 09:37:48 -0700 (PDT) In-Reply-To: <114200cf-2d46-46cb-bb5f-7c5f8ab98a66@googlegroups.com> References: <6dfa3707-80f4-407a-a109-66dbb0130513@googlegroups.com> <51b83e5a$0$29998$c3e8da3$5496439d@news.astraweb.com> <51b90ead$0$29997$c3e8da3$5496439d@news.astraweb.com> <51b9708b$0$29872$c3e8da3$5496439d@news.astraweb.com> <77ba6b16-4b1d-47a6-9b9b-5af45335c4fe@googlegroups.com> <51c2a089$0$29973$c3e8da3$5496439d@news.astraweb.com> <114200cf-2d46-46cb-bb5f-7c5f8ab98a66@googlegroups.com> Date: Fri, 21 Jun 2013 02:37:48 +1000 Subject: Re: A few questiosn about encoding From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371746277 news.xs4all.nl 15913 [2001:888:2000:d::a6]:38289 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48807 On Fri, Jun 21, 2013 at 2:27 AM, wrote: > And all these coding schemes have something in common, > they work all with a unique set of code points, more > precisely a unique set of encoded code points (not > the set of implemented code points (byte)). > > Just what the flexible string representation is not > doing, it artificially devides unicode in subsets and try > to handle eache subset differently. > UTF-16 divides Unicode into two subsets: BMP characters (encoded using one 16-bit unit) and astral characters (encoded using two 16-bit units in the D800::/5 netblock, or equivalent thereof). Your beloved narrow builds are guilty of exactly the same crime as the hated 3.3. ChrisA