[whatwg] Please always use utf-8 for Web Workers

Anne van Kesteren annevk at opera.com
Fri Sep 25 10:08:58 PDT 2009

On Fri, 25 Sep 2009 18:39:48 +0200, Drew Wilson <atwilson at google.com>  
> Are you saying that if I load a script via a <script> tag in a web page,
> then load it via importScripts() in a worker, that the result of loading
> that script in those two cases should/could be different because of
> different decoding mechanisms?
> If that's what's being proposed, that seems bad.

That could happen already if the script loaded via <script> did not have  
an encoding set and got it from <script charset>.

Anne van Kesteren

More information about the whatwg mailing list