problem with XML Encoding when fusion charts are loaded in OpenLaszlo App
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



problem with XML Encoding when fusion charts... Expand / Collapse
Author
Message
Posted 4/30/2007 7:04:29 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/2/2007 1:56:56 PM
Posts: 2, Visits: 6
Hi All,

My problem is:

My app runs perfectly, and i use XML to load the data from DB to OpenLaszlo. ok this works fine

But when the app load the chart, the char encoding changes, and the XML data from DB changes the enconding too, then the accent chars are "corrupted".

Please, if anyone have suggestions about my problem, reply this post.

Thanks


Msc. Jackson da Cruz
Project Manager - DL3
Post #932
Posted 5/2/2007 11:11:41 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 8:20:12 AM
Posts: 2,194, Visits: 521
Can you make sure that your XML data has proper BOM mark?

Thanks,
Pallav Nadhani
FusionCharts Team
Post #949
Posted 5/2/2007 1:49:48 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/2/2007 1:56:56 PM
Posts: 2, Visits: 6
the problem isn't in the xml used by the fusionchart. this work's fine.

The problem is when the char is loaded the whole app encoding changes, and the accenting char are corrupted.

this problem doesn't appear when other flash charts are used.

I think the problem is entire the swfs provided by fusion, or any action script that runs on fusion.


Msc. Jackson da Cruz
Project Manager - DL3
Post #952
Posted 5/19/2008 9:24:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/30/2008 10:19:57 AM
Posts: 4, Visits: 16
Hi Pallav,

This topic is very old, however I have run the same issues as "jackpr". Encoding crashes after chart is loaded into OpenLaszlo.
I have tested technologies separately, they work fine, as both have utf-8 support.

I have prepared test app (please let me know if you need it, as I can not attach code here).

- when user click button, content of dataset is displayed in list, everything is fine, you can refresh it, encoding will not crash,
- but after clicking second button, responsible for loading and displaying fusion chart with sample data (taken from FC gallery), encoding changes. So after next refresh of list strings are broken.

I have investigated issue for long hours, however I did not find any solution. Chart brakes OL encoding, ant this does not depend on chart data (empty chart will break it as well).

Also I have checked Laszlo / FC library used to load charts, it looks fine for me.

I have run out of ideas, any clues appreciated.


PS. Could you tell me how charts manage encoding?
Post #6344
Posted 5/23/2008 5:16:06 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: Today @ 8:20:12 AM
Posts: 2,194, Visits: 521
In our charts, we use System.useCodePage = true - does that conflict with OL's char management?

Thanks,
Pallav Nadhani
FusionCharts Team
Post #6392
Posted 5/30/2008 8:56:08 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/30/2008 10:19:57 AM
Posts: 4, Visits: 16
Hi Pallav,


Thank you for reply. Following your advice I have changed param to default "false", recompiled charts and fortunately everything works fine.

Thanks again and have a nice weekend ;-)


Regards,
Madtux
Post #6503
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:21pm


Execution: 0.063.