W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] Text Encoding used to decode Web Worker's script.

From: Jonas Sicking <jonas@sicking.cc>
Date: Thu, 19 Mar 2009 15:49:53 -0700
Message-ID: <63df84f0903191549h26e3fe20na0b94990df51dbd4@mail.gmail.com>
On Thu, Mar 19, 2009 at 3:43 PM, Anne van Kesteren <annevk at opera.com> wrote:
> On Thu, 19 Mar 2009 23:39:43 +0100, Dmitry Titov <dimich at chromium.org>
> wrote:
>>
>> FYI: per IRC talk, the answer is the scripts should be using UTF-8 in
>> the absence of explicit override. Spec likely will reflect this more
>> cleanly at some point.
>
> Can we get away with not following Content-Type at all? As we do for
> text/event-stream and text/cache-manifest. Both which simply require UTF-8.

The problem is if we want to allow people to use already existing
scripts then they are likely often not in UTF-8.

Most scripts will probably not work out-of-the box anyway since there
is no access to DOM. But purely computational libraries should work.

/ Jonas
Received on Thursday, 19 March 2009 15:49:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT