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

Anne van Kesteren annevk at opera.com
Thu Mar 19 15:54:47 PDT 2009


On Thu, 19 Mar 2009 23:49:53 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
> 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.

Would such libraries have a lot of non-UTF-8 characters? Also, it's not  
that hard to encode something as UTF-8 these days and the reduced  
complexity would be a nice benefit.


-- 
Anne van Kesteren
http://annevankesteren.nl/



More information about the whatwg mailing list