[whatwg] charset attribute of HTMLScriptElement

Toshirou Takahashi tato at fureai.or.jp
Mon May 2 02:41:00 PDT 2005



The test of Mac and Linux was added. 


[ Test ] 
http://jsgt.org/whatwg/wa102121script/

ok == success
ng == failure


=====================================================================
// type attribute
//
//

---------------------------------------------------------------------
ToUtf8FromSjisByType.html

<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type = "text/javascript;charset=Shift_JIS"
        src  = "./sjis.js"></script>

Win
	IE6		ng
	Firefox0.8	ng
	Opera8.0	ng
Mac
	IE5.2		ng
	Safari1.25	ng
Linux
	Konqueror3.3	ng

---------------------------------------------------------------------
ToSjisFromUtf8ByType.html

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
<script type = "text/javascript;charset=utf-8"
        src  = "./utf8.js"></script>

Win
	IE6		ng
	Firefox0.8	ng
	Opera8.0	ng
Mac
	IE5.2		ng
	Safari1.25	ng
Linux
	Konqueror3.3	ng


=====================================================================
// charset attribute
//
//

---------------------------------------------------------------------
ToUtf8FromSjisByCharset.html

<meta http-equiv="content-type" content="text/html;charset=utf-8">
<script charset = "Shift_JIS"
        src     = "./sjis.js"></script>

Win
	IE6		ok
	Firefox0.8	ok
	Opera8.0	ok
Mac
	IE5.2		ok
	Safari1.25	ok
Linux
	Konqueror3.3	ok

---------------------------------------------------------------------
ToSjisFromUtf8ByCharset.html

<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
<script charset = "utf-8"
        src     = "./utf8.js"></script>

Win
	IE6		ok
	Firefox0.8	ok
	Opera8.0	ok
Mac
	IE5.2		ok
	Safari1.25	ok
Linux
	Konqueror3.3	ok


Thanx,
-- 
Toshirou Takahashi 
<http://jsgt.org/mt/01/>






More information about the whatwg mailing list