W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

Re: IDL: special DOMString that converts to Unicode

From: Anne van Kesteren <annevk@annevk.nl>
Date: Sun, 28 Jul 2013 16:58:03 -0700
Message-ID: <CADnb78j7-J7YrGAmw8ejMsJooGzgFAD9oZ4JO+kNtR0B5vL-Xw@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Cameron McCormack <cam@mcc.id.au>, Brendan Eich <brendan@mozilla.org>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Simon Pieters <simonp@opera.com>, Robin Berjon <robin@w3.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>
On Sun, Jul 28, 2013 at 4:38 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> [EnsureUTF16] is a modifier within the value space, no? It makes the
> function throw if specific values are provided, but it doesn't mean
> that new values can be expressed. Just like [EnforceRange] does.

It is now. And it does not throw, it just replaces lone surrogates.
However, what I need is something which converts code units into
Unicode scalar values. Or in other words, I want U+10000 expressed as
a single code point.


> And yes, I think ByteString could, and probably should, be done as an
> extended attribute.


-- 
http://annevankesteren.nl/
Received on Sunday, 28 July 2013 23:58:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC