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

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

From: Jonathan Cook <jonathan.j5.cook@gmail.com>
Date: Fri, 25 Sep 2009 06:31:41 -0700
Message-ID: <4ABCC63D.3040202@gmail.com>
The importScripts portion of the Web Workers API is compatible with 
existing scripts, but I'm all for more UTF-8 :)  If the restriction is 
added to the spec, I'd want to know that a very clear error was going to 
be thrown explaining the problem.

Regards,
Jonathan 'J5' Cook

Simon Pieters wrote:
> Workers are new and seems very likely to be incompatible with existing 
> scripts. So it is not subject to legacy content with legacy encodings. 
> Therefore, we should be able to always use utf-8 for workers. Always 
> using utf-8 is simpler to implement and test and encourages people to 
> switch to utf-8 elsewhere.
>
Received on Friday, 25 September 2009 06:31:41 UTC

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