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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 20 Mar 2009 00:07:47 +0100
Message-ID: <op.uq2ai9sg64w2qv@annevk-t60.oslo.opera.com>
On Fri, 20 Mar 2009 00:00:03 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
> On Thu, Mar 19, 2009 at 3:54 PM, Anne van Kesteren <annevk at opera.com>  
> wrote:
>> Also, it's not that
>> hard to encode something as UTF-8 these days and the reduced complexity
>> would be a nice benefit.
> Do such tools always insert a BOM as well? So that it's safe to reuse
> the script both for <script> and for workers?

There's usually an option to include it.

We can always make it less strict later if this turns out to be a huge  
problem for content creators. There's no universal support for this  
feature right now anyway.

Anne van Kesteren
Received on Thursday, 19 March 2009 16:07:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:48 UTC