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

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

From: Glenn Adams <glenn@skynav.com>
Date: Wed, 29 Feb 2012 15:43:56 -0700
Message-ID: <CACQ=j+czV-qs_2fKepqQ2K51egR_keL+yc=feeGwZ_2kO4_G=g@mail.gmail.com>
To: Arun Ranganathan <aranganathan@mozilla.com>
Cc: Glenn Maynard <glenn@zewt.org>, Simon Pieters <simonp@opera.com>, Eric U <ericu@google.com>, public-webapps@w3.org, Jonas Sicking <jonas@sicking.cc>
On Wed, Feb 29, 2012 at 2:58 PM, Arun Ranganathan

> On Wed, Feb 29, 2012 at 2:36 PM, Arun Ranganathan <
> aranganathan@mozilla.com> wrote:
>  On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan <
>> aranganathan@mozilla.com> wrote:
>> 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.
> what needs to be specified that isn't already found in Unicode [1], clause
> D92, p92ff?
> [1] http://www.unicode.org/versions/Unicode6.1.0/ch03.pdf
> I think that gets us by.  Do you think we need a reference in FileAPI?  Or
> can we merely say to encode as UTF-8 and leave it to implementations (a
> reasonable assumption IMHO).

I think you should have a reference. You could either use the following, as
does HTML5:

[RFC3629]UTF-8, a transformation format of ISO
F. Yergeau. IETF.

or you could modify the language in Section 4 Terminology and Algorithms to

The terms and algorithms *UTF-8*, <fragment>, <scheme>, document, unloading
document cleanup steps, event handler attributes, event handler event type,
origin, same origin, event loops, task, task source, URL, and queue a task are
defined by the HTML specification


A conforming user
support at least the subset of the functionality defined in HTML that this
specification relies upon; in particular, it must support event
 and event handler
[HTML <http://dev.w3.org/2006/webapi/FileAPI/#HTML>]
Received on Wednesday, 29 February 2012 22:44:44 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:38 UTC