Search the Community
Showing results for tags 'chinese'.
Found 1 result
-
Hi, I use Fusion charts 3.1, I have the problem, that the chinese characters are not displayed correctly: See the first chart here: http://www.factfish.org/zh/tonjiguo/%E5%BE%B7%E5%9B%BD/%E4%BA%BA%E5%9D%87%E8%83%BD%E6%BA%90%E6%B6%88%E8%80%97 What's strange is that the second chart on the Page (the Pie chart) displays the characters correctly. The XML of the chart seems OK: All charcters are encoded as XML entities: <chart caption='人均能源消耗 (千克油当量)' ... You can take a look at the XML here: http://www.factfish.org/statistics/drill_down_line_chart.php?data_set=105&location=47〈=zh In the PHP the Chart is created like this: $xml_string = $doc->saveXML(); header('Content-Type: text/html; charset=utf-8'); $xml_string=str_replace('"',"'",$xml_string); echo trim(preg_replace('/<\?xml.*\?>/', '', $xml_string, 1)); Any ideas? Thank you Bernhard