So I have some urls that have a % in them. I urlencode the url, but the javascript seems to mess up the url to the xml.
var myChart = new FusionCharts("[% page.static %]/charts/Pie3D.swf", "myChartId", "600", "200");
var strURL = escape("/data/charts/pie/location_%");
alert(strURL);
myChart.setDataURL(strURL);
myChart.render("chartdiv");
So the alert shows the url encoded correctly as %25. When the request comes for the XML though it is always wrong. It usually looks something like "data/charts/pie/location_m/" or "data/charts/pie/location_Mode/"
What's going on here??