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

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 UTC