Path: csiph.com!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed7.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Django': 0.03; 'string.': 0.04; 'indexing': 0.07; 'cc:addr:python-list': 0.09; 'bold': 0.09; 'iterate': 0.09; 'statements': 0.09; 'underlying': 0.09; 'enlighten': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iteration': 0.16; 'slicing)': 0.16; 'wrote:': 0.16; 'string': 0.17; 'changes': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; "python's": 0.23; 'split': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'chris': 0.26; 'points': 0.27; 'message- id:@mail.gmail.com': 0.27; "skip:' 10": 0.28; 'node': 0.29; 'character': 0.29; '(including': 0.30; 'that.': 0.30; 'code': 0.30; "i'd": 0.31; 'another': 0.32; 'posting': 0.32; 'particular,': 0.33; 'gives': 0.35; 'received:google.com': 0.35; 'best,': 0.35; 'unicode': 0.35; 'knowledge': 0.35; 'should': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'expect': 0.37; 'why': 0.39; 'subject:the': 0.39; 'your': 0.60; 'making': 0.62; 'matter': 0.63; 'thomas': 0.63; 'combining': 0.66; 'chrisa': 0.84; 'me!': 0.84; 'absolutely': 0.88; 'to:none': 0.91; 'gaps': 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=MCFu3ZXmKYTpcvWIv9smamsN499s54mmJKJye/xaPKo=; b=svCYRGMSUviL7HQjfMYYhnbtLCGw+JixFYFxOZaSk5tdjACmtUVUGJ9vXb8N7YPQdK B2U0VHKdc8/DQnFIZthtp2f+jUwNbDOlQ7DE/sl9vjdu3I9MkuBw/98v3vPLGkBPXYGB bdsMrBrb7sf3InJLCQL0uzsxw+gM8Kx/1g32DvA/6qvCw7kK4vp5nPQ9j1JntbFHmY1j Y/v5E2zwtGuTXuBeXZPfFCUHxy9W/g5MmG5xiyvhwgBAl9AYEzPQ0SMsu7+kPfVKcq/y 364hlHpWjzFOp7KxtuYbk8bEM7wX/5rrb7ED1ZPwygbWETgBWB5XxQTbhvfdZuK65RA5 iWMQ== MIME-Version: 1.0 X-Received: by 10.50.221.107 with SMTP id qd11mr10737830igc.13.1439211430640; Mon, 10 Aug 2015 05:57:10 -0700 (PDT) In-Reply-To: <7619054.rZZqoS0ge9@PointedEars.de> References: <55C790D3.3040906@gmail.com> <7619054.rZZqoS0ge9@PointedEars.de> Date: Mon, 10 Aug 2015 22:57:10 +1000 Subject: Re: Is Django the way to go for a newbie? 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.20+ 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1439211434 news.xs4all.nl 2826 [2001:888:2000:d::a6]:59033 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95219 On Mon, Aug 10, 2015 at 9:58 PM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> There's another thing you absolutely have to know when you do web >> development, and that's i18n. This is why I don't recommend Node.js >> for server-side work - because Python's Unicode support is better than >> JS's. > > Your posting shows again that your knowledge of "JS" is full of gaps at > best, so you should refrain from making bold statements about "it" and > making design decisions and recommendations based on that. Do please enlighten me! Tell me how Node changes the underlying ECMAScript specification and gives true Unicode support. In particular, I would expect the length of a string to be based on either code points or combining character sequences, and indexing (including slicing) should be based on the same thing. It should not be possible to split a character during iteration over a string. (Whether you iterate over "e=CC=81" as a single character or as two (U+0065 U+0301) is a matter of debate, and I'd accept both answers as correct.) ChrisA