Ah Python, you have spoiled me for all other languages
Thomas 'PointedEars' Lahn
PointedEars at web.de
Sat May 23 08:33:44 EDT 2015
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 <http://PointedEars.de/wsvn/JSX/trunk/string/unicode.js>
and others for details.
--
PointedEars
Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.
More information about the Python-list
mailing list