New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled sources UTF-8 legend symbol issue #4079

Closed
helpse opened this Issue Apr 8, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@helpse

helpse commented Apr 8, 2015

There seems to be an issue with the compiled highcharts script.
The default legend symbol \u25CF is getting changed to â— on compile.
http://code.highcharts.com/highcharts.src.js
http://code.highcharts.com/highcharts.js

@TorsteinHonsi

This comment has been minimized.

Collaborator

TorsteinHonsi commented Apr 9, 2015

Running the following HTML file in IE8 displays the problem. The bullet sign in the tooltip is corrupted when using highcharts.js, but not when using highcharts.src.js. It happens when the HTML page is non-UTF. Modern browsers are not affected.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
  <title>Highcharts test tool - jsFiddle demo</title>

  <script type='text/javascript' src='http://code.jquery.com/jquery-compat-git.js'></script>

  <style type='text/css'>

#container {
    min-width: 300px;
    max-width: 800px;
    height: 300px;
    margin: 1em auto;
}
  </style>

<script type='text/javascript'>//<![CDATA[ 
$(function(){
$('#container').highcharts({

    xAxis: {
        categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 
            'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
    },

    series: [{
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
    }]

});

});//]]>  

</script>


</head>
<body>
  <script src="http://code.highcharts.com/4.1.4/highcharts.js"></script>

<div id="container"></div>




</body>


</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment