Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Exended ASCII and code pages [was Re: for / while else doesn't make sense] Date: Wed, 25 May 2016 20:30:55 +1000 Lines: 23 Message-ID: References: <85r3ct9zt2.fsf@benfinney.id.au> <5742bacb$0$1526$c3e8da3$5496439d@news.astraweb.com> <87zirgrgol.fsf@bsb.me.uk> <21745CE1-A5BA-4B24-86BF-0B64DA0C886E@icloud.com> <5743a8d2$0$1587$c3e8da3$5496439d@news.astraweb.com> <7D6476C4-9969-4648-AB43-4CE0C7115B9C@icloud.com> <57457c4f$0$11122$c3e8da3@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de oY7Atd/tECWviMTh+z33NA/6Qx7Bb9wwDyrzEYpX6JRw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:code': 0.07; 'cc:addr:python-list': 0.09; 'subject:while': 0.09; 'unicode,': 0.09; 'causing': 0.13; 'wed,': 0.15; 'server,': 0.15; 'subject: \n ': 0.15; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'something.': 0.16; 'subject:make': 0.16; 'unicode.': 0.16; 'wrote:': 0.16; 'directory.': 0.18; 'linux,': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'machine': 0.21; 'users,': 0.22; 'errors': 0.23; 'header:In-Reply-To:1': 0.24; 'linux': 0.26; 'message-id:@mail.gmail.com': 0.27; 'subject: [': 0.29; 'there.': 0.30; "i'm": 0.30; 'code': 0.30; 'another': 0.32; '[1]': 0.32; 'getting': 0.33; "d'aprano": 0.33; 'legacy': 0.33; 'steven': 0.33; 'file': 0.34; 'server': 0.34; 'received:google.com': 0.35; 'received:74.125.82': 0.35; 'but': 0.36; 'there': 0.36; 'created': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'names': 0.38; 'files': 0.38; 'system.': 0.39; 'easily': 0.39; 'called': 0.40; 'some': 0.40; 'back': 0.62; 'subject: / ': 0.63; 'today': 0.65; 'adoption': 0.84; 'chrisa': 0.84; 'fat': 0.84; 'fortunately': 0.84; 'subject:else': 0.84; 'subject:sense': 0.84; 'to:none': 0.91 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-transfer-encoding; bh=dAcssb6/d/PXUqe5gwdxOF3Cv4SNF0GMOZuufCn2mSg=; b=VROWHXAIqIogHbhxFz4YHhVFhbeDfN4PlIyVWbR+LYln//Abq6MX5ifWkZqzr/jeRy HNBGwRSCbAvcteWlDP+B/P+HrptpuIlobgRexmLxombtIRDcmOts9afZdNOsBroiQmUQ xiPRjt/gDTIhsBHbG4xc1OHYIkuaUGMag8vxI3qUi6NlaGdRpgiNeD8Rt9mIHWFHb5a3 aI3G411TDVx05hdY7uw7iqMo/teMYEvKmvRneVUNd0SLTx4wziSkWQtWMSXa2S+88393 uO/Ou2yQ/p0EB4LwXDoleSe6mqxChwm98syRDYee3zwHjn0rEE4iBWGXEU3AYumeT3Q4 YsPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-transfer-encoding; bh=dAcssb6/d/PXUqe5gwdxOF3Cv4SNF0GMOZuufCn2mSg=; b=I78tFwuJDGwE8zLloVtr+iINFovsrUCeMlOSynN8LKZBF0/HW/1jZe4s+WEZ5wHt3d 9hBVGjP2nF7bi2IpnG8nsrgY9l547HaiPAO5IFN1RqqbFX4eIHQpccUgCaHn0LwGOnKk 6rnCoPOydgEL2pFoXP9q9NJZiW57j0MPL75bfwejN2bJVAC6GihGX/W2AgpyT0gA0sTI QVDM0LOKRGONfWaFGAbbiiZNgSvFUXacO+KWbN0eu4TlEPawyNnfgLVYozy529C6Hi+G u/yblCgA2uYim3PiLK1Oy7Wp0Ul+4HpoZqgg2LifRMbswhjhfz8kVdGH8Gmh+f0pOw/1 47zQ== X-Gm-Message-State: ALyK8tJqu1bhPGWVicw664r/OOv8snLrapvuUEnQi061Ap/NgE/D12QyB2c9lm/XOoB0pyEN4SK+mOflDBWjWA== X-Received: by 10.194.86.129 with SMTP id p1mr2934382wjz.117.1464172255907; Wed, 25 May 2016 03:30:55 -0700 (PDT) In-Reply-To: <57457c4f$0$11122$c3e8da3@news.astraweb.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <85r3ct9zt2.fsf@benfinney.id.au> <5742bacb$0$1526$c3e8da3$5496439d@news.astraweb.com> <87zirgrgol.fsf@bsb.me.uk> <21745CE1-A5BA-4B24-86BF-0B64DA0C886E@icloud.com> <5743a8d2$0$1587$c3e8da3$5496439d@news.astraweb.com> <7D6476C4-9969-4648-AB43-4CE0C7115B9C@icloud.com> <57457c4f$0$11122$c3e8da3@news.astraweb.com> Xref: csiph.com comp.lang.python:109110 On Wed, May 25, 2016 at 8:19 PM, Steven D'Aprano wrote: > While the code page system was necessary at > the time, the legacy of them today continues to plague computer users, ca= using > moji-bake, errors on file systems[1], and holding back the adoption of Un= icode. > > [1] I'm speaking from experience there. Take files created on a Windows m= achine > using some legacy code page, and try to copy them to another server using > Unicode, and depending on the intelligence of the server, you may not be = able > to copy them. On the flip side, there are many file names I can easily cr= eate > on Linux but cannot copy to a FAT file system. And getting a .zip file from a Windows user that had a file in it called "Caf=C3=A9 Sounds.something", extracting it on Linux, and finding it called "Caf\xe9" or something. Very annoying. Fortunately it was only the one file in a large directory. ChrisA