Sign in to follow this  
davide.menoni@omnilab.it

Multilanguage And Fusioncharts Message

Recommended Posts

Guest Angshu

Hi,

 

Thanks for your post.

 

FusionCharts allows you to use multi-lingual (UTF-8) characters on the charts. Please note that in order to use any multi-lingual characters on the chart, you necessarily need to use UTF-8 encoded XML/JSON. More importantly, the XML/JSON file or stream requires UTF-8 BOM stamp to be present as the very first 3 Bytes of the file. Most of the text editors like Notepad can do this automatically.

 

To know more on how to BOM mark a file, please read : http://docs.fusionch...ars/SpChar.html

 

Please note the two basic thumb rules:

 

For Data URL method - the XML/JSON should be having the BOM stamp.

 

For Data String method - the HTML/application file containing the XML/JSON should have the BOM stamp.

 

BOM is Byte Order Mark. It is 'EF BB EF' - these 3 bytes in case of UTF-8 encoded files, the BOM being placed at the very beginning of the file. It is an indicator that the file is containing UTF-8 encoded strings. Also, please note that specifying the encoding setting i.e., <?xml version="1.0" encoding="UTF-8"?> in the XML header region does not add the Byte Order Mark (BOM) to the XML/JSON file.

 

Hope this helps.

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