Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'binary': 0.07; 'bytes,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:design': 0.09; 'encodings': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Language': 0.16; 'wayne': 0.16; 'wrote:': 0.18; 'normally': 0.19; 'header:User-Agent:1': 0.23; 'bytes': 0.24; 'replace': 0.24; 'unicode': 0.24; 'header:X-Complaints-To:1': 0.27; 'argue': 0.31; 'sep': 0.31; 'writes:': 0.31; 'text': 0.33; "i'd": 0.34; 'common': 0.35; 'no,': 0.35; 'but': 0.35; 'there': 0.35; 'data,': 0.36; 'sequence': 0.36; 'should': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'map': 0.64; 'more': 0.64; '2013,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Language design Date: Thu, 12 Sep 2013 09:16:29 +1000 References: <522eb795$0$29999$c3e8da3$5496439d@news.astraweb.com> <7wbo412m02.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xBD41714B X-Public-Key-Fingerprint: 9CFE 12B0 791A 4267 887F 520C B7AC 2E51 BD41 714B X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:o1X52T1vmg/kPfoWDXpxjI1FkKU= 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378941608 news.xs4all.nl 16004 [2001:888:2000:d::a6]:33549 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54004 Wayne Werner writes: > On Tue, 10 Sep 2013, Ben Finney wrote: > > The sooner we replace the erroneous > > “text is ASCII” in the common wisdom with “text is Unicode”, the > > better. > > I'd actually argue that it's better to replace the common wisdom with > "text is binary data, and we should normally look at that text through > Unicode eyes". A little less catchy, but more accurate ;) No, that's inaccurate. A sequence of bytes is binary data. Unicode is not binary data. There are encodings which map Unicode to a sequence of bytes, but text is not binary data. -- \ “For fast acting relief, try slowing down.” —Jane Wagner, via | `\ Lily Tomlin | _o__) | Ben Finney