W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

From: Arun Ranganathan <aranganathan@mozilla.com>
Date: Wed, 29 Feb 2012 13:36:52 -0800 (PST)
To: Glenn Maynard <glenn@zewt.org>
Cc: Simon Pieters <simonp@opera.com>, Eric U <ericu@google.com>, public-webapps@w3.org, Jonas Sicking <jonas@sicking.cc>
Message-ID: <907793922.1906256.1330551412411.JavaMail.root@zimbra1.shared.sjc1.mozilla.com>
On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan < aranganathan@mozilla.com > wrote: 

> > or use another algorithm with an identical result, and be decoded
> > as UTF-8.

> I think this can be removed. You can always replace algorithms with
> equivalent ones, in any part of an implementation.

> > and be decoded as UTF-8.

> This should say "encoded". Unicode codepoints are the "raw data";
> UTF-8 is the encoding of that data.

Done. 

> Should the actual UTF-8 encoding algorithm be specified by HTML?

I don't know, since I think that Unicode to UTF-8 is pretty common. Might help if it was part of the common infrastructure. 

-- A* 

> I've filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=16157 for
> WebSocket.

> --
> Glenn Maynard
Received on Wednesday, 29 February 2012 21:37:25 GMT

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