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

Anne van Kesteren annevk at opera.com
Thu Mar 19 16:07:47 PDT 2009

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

More information about the whatwg mailing list