Why must I specify charset attributes for by <script> tags?
I have a bit of an odd situation: Main HTML page is served in UTF-16 character set (due to some requirements out-of-scope for this question) HTML page uses <script> tags to load external scripts (i.e. they have src attributes) Those external scripts are in US-ASCII/UTF-8 The web server is serving the scripts with the content-type "application/javascript" with no character set hints The scripts have no byte-order-mark (BOM) When loading the page described above, both Firefox and Chrome (current versions) throw errors saying that the first character of the script files are invalid. Looking at