Not working if html file saved with unicode(UTF-8) in IE6

Posted by hnyllj 
Not working if html file saved with unicode(UTF-8) in IE6
March 09, 2009 09:21AM
Here the simple code from the JS Charts User Guide
<html>
<head>
    <title></title>
    <script type="text/javascript" src="jscharts.js"></script>
</head>
<body>
    <div id="chartContainer">
        This is just a replacement in case JavaScript is not avaliable or used for SEO purpose
    
   
    </div>
     <script type="text/javascript">
        var myData = new Array([10, 20], [15, 10], [20, 30], [25, 10], [30, 5]);
        var myChart = new JSChart('chartContainer', 'line');
        myChart.setDataArray(myData);
        myChart.draw();
 
    </script>
</body>
</html>

but if i save the code as a html file and select the encoding of UTF-8, and click the html file it told me that the 'JSChart' is undefined!
so i change the encoding of ANSI and saved again, it works!

My browser is IE6



Edited 2 time(s). Last edit at 03/09/2009 09:38AM by hnyllj.
Re: Not working if html file saved with unicode(UTF-8)
March 09, 2009 09:33AM
Hi everybody ,i have try to save the html file as the encoding of UTF-8 and opened it in IE7 and firefox3 , both works!
Re: Not working if html file saved with unicode(UTF-8) in IE6
March 16, 2009 06:52AM
me too . this is a bug!
Re: Not working if html file saved with unicode(UTF-8)
March 21, 2009 06:13AM
program: js charts ,ie6: unicode(windows-1252) ,ie7 / firefox3:unicode(utf-8), but how about support zh_cn.

ie7 ???utf-8,???????????????????
Sorry, you do not have permission to post/reply in this forum.