Sign in to follow this  
arne99

German 'umlauts' Again...

Recommended Posts

Hi,

 

I have a problem with german umlauts ä,ö,ü,ß...

I know somy people had these problems before and i could solve most of my problems by using the 'BOM'-characters (chr(239).chr(187).chr(191) .

It works at the chart caption and at the labels in the chart. But it does not work at the x- and yAxisNames.

I try % F6, ä, ö, but nothing is shown in the charts.

 

Any ideas?

Thank you!

Edited by arne99

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

Welcome to FusionCharts forum. :)

 

Could you please confirm us the following:-

 

1. The version and the name of the swf file that you are using?

 

2. The method that you are using to pass the data to the chart(dataXML/dataURL)?

 

3. The name of the server-side language that you are using?

 

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi, thanks for your support.

 

I'm using v3 Enterprise and different *.swf-files like Pie3D.swf or MSLine.swf.

 

I create a XML-File by using PHP:

 

$xml = "<?xml version="1.0" encoding="UTF-8"?>";
$xml .= "<chart caption='Bonität' xAxisName='Einzeläußerungen' yAxisName='Beiträge' >";
...
$BOM = chr(239).chr(187).chr(191);
fwrite($fp, $BOM.$xml); 

 

 

 

After creating the xml-file, I open the swf-File by using Javascript:

 

<script language="JavaScript" src="FusionCharts.js"></script>
<div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>
<script type="text/javascript">
var myChart = new FusionCharts("MSLine.swf", "myChartId", "450", "300", "0", "0");
myChart.setDataURL("Data.xml");
myChart.render("chartdiv");
</script>

 

The german umlauts works fine at any places in the charts. The 'ä' in 'Bonität' is shown right, the characters in the x- and y-axis don't.

Just an idea: Is it possible to include an image at the x- and y-axis? ;-)

Share this post


Link to post
Share on other sites

Hi,

 

Could you please let us know the current version you are using to render the chart?

 

Please try enabling the "debugMode" (the second last) parameter in the HTML code and send us the screenshot of the page.

Ref.- var chart = new FusionCharts("Area2D.swf", "ChartId", "510", "172", "1", "0");

 

Awaiting your reply.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this