W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: "send data using the Web Socket" and UCS-2

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 04 Jun 2009 09:42:24 +0200
To: "Jonas Sicking" <jonas@sicking.cc>, "Jeff Walden" <jwalden@mit.edu>
Cc: public-webapps@w3.org
Message-ID: <op.uuzo0yff64w2qv@annevk-t60>
On Thu, 04 Jun 2009 09:36:53 +0200, Jonas Sicking <jonas@sicking.cc> wrote:
> Yes, I don't see how we could handle this in WebIDL, other than
> defining that all DOMStrings must be structurally correct UTF-16.
> However that would be prohibitively expensive since we would have to
> add checks in many many places.

Web IDL could define algorithms how you convert a DOMString to and from UTF-8. And maybe other encodings if that is desirable.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 4 June 2009 07:43:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:31 GMT