simeon Report post Posted March 8, 2010 I have given the drilldown url through the click url. My url encoded properly with UTF-8 format i am getting junk values while loading Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 8, 2010 Hello, Could you please paste the URL you are passing in the clickURL attribute? Awaiting your reply. Share this post Link to post Share on other sites
simeon Report post Posted March 8, 2010 Actually i have identified the problem exactly. Actually i have one double byte charachter(Chines) while forming the xml i have decoded that url(for ClickUrl attribute). so every thing is fine. what happening is, if i use mozilla firefox browser ,the encoded values are decoded when loding the flash image. when i drill down from the flash image , decoded url only used. so I am getting junk values in the server page. Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 9, 2010 Hello, When you are using Chinese Characters in your URL, you need not decode it. What you can do is directly add a BOM mark to the XML and check if this solves the issue. ref. - http://www.fusioncharts.com/docs/Contents/SpChar.html Share this post Link to post Share on other sites
simeon Report post Posted March 9, 2010 i am using dataURL to load data. Shall i get one example for BOM? Share this post Link to post Share on other sites
simeon Report post Posted March 9, 2010 sorry, i am using dataXML to feed data to fusion. How can i use the BOM mark? i need one example. shall i get it now? Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 9, 2010 Hi Simeon, For dataXML method - the HTML/application file containing the XML as well as the chart SWF should have the BOM stamp. Please note, for the XML files which are generated one-time and remains static, you can manually insert a BOM mark. This method is applicable when data is retrieved from file using the dataURL method. All you have to do is make sure the file containing the XML data contains a BOM mark or specify one if it is absent. In order to specify a BOM mark, follow these steps: Open the file in question in a text-editor that supports UTF-8 encoding with BOM stamp (Example Share this post Link to post Share on other sites
simeon Report post Posted March 9, 2010 Hi, I dont know how do include that BOM. I have attached the code with this. Pls do the necessary changes and give it to me. I will use this as a sample and i will fix the problem in other charts also. dial.txt Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 9, 2010 Hi, Please refer to the link below for the detailed information on "How to add BOM":- Ref.- http://www.fusioncharts.com/docs?/SpChar.html I hope this helps. Share this post Link to post Share on other sites
simeon Report post Posted March 9, 2010 (edited) I have added the BOM characer before the dataXML. Now also while drill down querystring chinease characters are changed to chunk values.pls help me to fix the problem Edited March 9, 2010 by Guest Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 9, 2010 Hello, Did you try using the corresponding character code for the Chinese Characters? If you could please send us the URL you are using we can test with it. Share this post Link to post Share on other sites
simeon Report post Posted March 9, 2010 I tried the following code byte[] utf8Bom = new byte[]{(byte) 0xef, (byte) 0xbb, (byte) 0xbf}; String utf8BomStr = new String(utf8Bom,"UTF-8"); xmlData.append(utf8BomStr+"<?xml version='1.0' encoding='UTF-8'?>"); xmlData.append("<Chart lowerLimit='0' upperLimit='"+i_maxValue+"'");...... Share this post Link to post Share on other sites
Rahul Kumar Report post Posted March 9, 2010 Hi, Could you please use unescapeLinks='0' attribute in <chart ...unescapeLinks='0' > tag and try again? Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 9, 2010 Hi xmlData.append(utf8BomStr+"<?xml version='1.0' encoding='UTF-8'?>"); Please don't append BOM to the xml. You would need to output the BOM to the output stream. Hope this helps. Srividya Share this post Link to post Share on other sites