Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:text': 0.05; 'laura': 0.07; 'utf-8': 0.07; 'creighton': 0.09; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'encodings': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wait.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'errors.': 0.24; 'tend': 0.24; 'text.': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'possibility': 0.29; 'moved': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'that.': 0.31; '"do': 0.31; '25,': 0.31; 'languages': 0.32; 'open': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'problems': 0.38; 'supporting': 0.39; 'sure': 0.39; 'even': 0.60; 'skip:u 10': 0.60; 'lower': 0.61; 'simple': 0.61; 'benefit': 0.68; 'answer.': 0.68; 'results': 0.69; 'potentially': 0.81; '2015': 0.84; 'to:none': 0.92 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; bh=IbWYz44SpD/obq+Txk+cilD8cWIh2nwkQe3SDQ6IXhA=; b=Lwnoov+sHgf5GFJFmkV11TILEx9/Uras+kvWzAfSmwiLnilscqucj4cWQ5XP5IJbl8 65ObQTuLPfp9R3sBKcDxohTpvtZ34dQIVBZRzkPGuCJII2WCtc0aMrniiMp0AmPHPuwm zSq3U9kTs+HErb5rUF127k5lEiVlfTa7yMHc3c+GXdp8WOrXagUKOpazlYHA+QSYv4BX 5MLaWu25EB8/fHkgqDipxiARF45yxVKw/Gk9GZjdxG2FDU63qvlmSAuTheuckIROO1y9 WV96YZjiVEEPFPrQxfehZQqKhextjQZC4P7okzzWfZFbFyMdV0rS41DNXdM5kd/ZU+cC i36Q== MIME-Version: 1.0 X-Received: by 10.50.114.4 with SMTP id jc4mr20982303igb.14.1424795073009; Tue, 24 Feb 2015 08:24:33 -0800 (PST) In-Reply-To: <201502241620.t1OGKf4n002146@fido.openend.se> References: <54EC5FA4.6070703@davea.name> <201502241455.t1OEtffT016452@fido.openend.se> <201502241507.t1OF7aUm018883@fido.openend.se> <201502241524.t1OFO09k022270@fido.openend.se> <201502241620.t1OGKf4n002146@fido.openend.se> Date: Wed, 25 Feb 2015 03:24:32 +1100 Subject: Re: Newbie question about text encoding From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424795081 news.xs4all.nl 2874 [2001:888:2000:d::a6]:33759 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86330 On Wed, Feb 25, 2015 at 3:20 AM, Laura Creighton wrote: > People who are asking for help in getting things to work in their > native language need a 'do this quick' sort of answer. The deeper > problems of supporting all languages and language encodings can very > much wait. I'm not so sure about that. When "supporting all languages" is as simple as "use Python 3 and UTF-8 everywhere", the cost is much lower than it might be, and the benefit is potentially huge. A "do this quick" answer might get you by *right now*, but it leaves open the possibility of subtler errors. That's why Python moved to Unicode-by-default, even though eight-bit encodings will tend to produce the right results for simple text. ChrisA