Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.python Subject: Re: Ah Python, you have spoiled me for all other languages Date: Sat, 23 May 2015 14:33:44 +0200 Organization: PointedEars Software (PES) Lines: 19 Message-ID: <2212595.DFZ6OqehRn@PointedEars.de> References: <555f440a$0$12990$c3e8da3$5496439d@news.astraweb.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1432384583 10934 eJwFwYEBwCAIA7CXQGmVc4SV/09Ygk1nnyAYGMzXvXYp0ztpWRLdVIcDBdeF3UqnP6wnH/sBJKIRAw== (23 May 2015 12:36:23 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 23 May 2015 12:36:23 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNwokRwDAIA7CVINiQjsNT9h+hPYnm6h1wOrg/D+TAFJch3PdK7omxQbruyRSMR5UxqoXIg3qu92jTjnw8jRTu Cancel-Lock: sha1:C+r8+L329jokQUycmDNICvSVTqU= X-NNTP-Posting-Host: eJwNw4ENwDAIA7CXRoGEntPB8v8Jqyynw9AMJCJ1pYZPrSWJwnp76NbhuKu2tI02pzifxdEPHfYRSw== Xref: csiph.com comp.lang.python:91120 Chris Angelico wrote: > […] My hobby-horse, Unicode, is a notable flaw in many languages - if you > ask the user for information (in the most obvious way for whatever > environment you're in, be that via a web browser request, or a GUI widget, > or text entered at the console), can it cope equally with all the world's > languages? What if you want to manipulate that text - is it represented as > a sequence of codepoints (Python 3), UTF-16 code units (JavaScript), If only characters were represented as sequences UTF-16 code units in ECMAScript implementations like JavaScript, there would not be a problem beyond the BMP; see and others for details. -- PointedEars Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.