encoding issue
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



encoding issue Expand / Collapse
Author
Message
Posted 12/19/2007 2:49:32 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/21/2007 10:41:09 AM
Posts: 3, Visits: 6
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?

Post #3425
Posted 12/19/2007 9:52:50 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 7:20:21 AM
Posts: 869, Visits: 1,380
hi,

you need to use %26paos; . %27 is converted to ' when the XML is parsed and hence there is validation issue, where as %26apos; is converted by our chart from the XML attribute and show as '

Regards,

Sudipto Choudhury
FusionCharts Team

Post #3428
Posted 12/21/2007 10:42:09 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/21/2007 10:41:09 AM
Posts: 3, Visits: 6
Thank You.
Post #3452
Posted 6/25/2008 12:28:26 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/10/2008 11:44:05 AM
Posts: 7, Visits: 26
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.
Post #7023
Posted 6/26/2008 12:27:01 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 7:27:38 AM
Posts: 551, Visits: 1,782
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(";");

Thanks,
Arindam

FusionCharts Team
www.fusioncharts.com

Post #7032
Posted 6/26/2008 12:34:31 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 7:20:21 AM
Posts: 869, Visits: 1,380
Hi,

I apologize for the typo... it would be %26apos;

Regards,

Sudipto Choudhury
FusionCharts Team

Post #7033
Posted 6/26/2008 2:43:14 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/10/2008 11:44:05 AM
Posts: 7, Visits: 26
Thanks!
Post #7055
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 4:32pm


Execution: 0.125.