Highmaps徽标字符串呈现无效的版权字符

时间:2014-11-18 00:51:23

标签: css highcharts character invalid-characters highmaps

当我创建HighMaps对象时,地图会在底部显示一条带有无效字符的消息(请参阅红框):

enter image description here

这似乎在所有demos中都很好。以下是在我的localhost上启动时创建的HTML块:

<text x="426" text-anchor="end" zIndex="8" style="cursor:pointer;color:#909090;font-size:9px;fill:#909090;" y="395">
    <tspan onclick="location.href=&quot;http://www.highcharts.com&quot;" style="cursor: pointer;">Highcharts</tspan>
    <tspan dx="0"> © </tspan>
    <tspan onclick="location.href=&quot;http://www.naturalearthdata.com&quot;" dx="0" style="cursor: pointer;">Natural Earth</tspan>
</text>

1 个答案:

答案 0 :(得分:0)

尝试设置页面文件的utf-8编码并设置正确的元数据。