Sign in to follow this  
Tom D

encoding issue

Recommended Posts

i have an apostrophe as a seriesName and i replace it with %27 and it still says invalid xml.

I use %26 for & and it works fine why is this?

Share this post


Link to post
Share on other sites

I've tried to use %26paos; for series and category names on a stacked bar 2D chart to output an apostrophe but it still isn't working. The chart just displays %26paos;. Here's what I have in my PHP code:

 

 

 

$FC->addCategory("%26paos;");

 

 

 

Any ideas?

 

 

 

Don't know if it matters but I'm using the free version of FusionCharts.

Share this post


Link to post
Share on other sites

Hi bkark,

Could you please set default ParamDelimiter ";" to ":" or other delimiter. After that use addCategory("%26apos;"). Please see the code

 

  $FC->setParamDelimiter(":");

  $FC->addCategory("%26apos;");

  $FC->setParamDelimiter(";");

Edited by Guest

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