﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / XML Issue  / multiligual characters and PHP generated XML / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Tue, 07 Oct 2008 15:49:06 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: multiligual characters and PHP generated XML</title><link>http://www.fusioncharts.com/forum/Topic5782-29-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;You can add non-english characters to your XML using PHP and let FusionCharts show them. For this you woudl need to add the BOM to the file. &lt;BR&gt;&lt;/P&gt;&lt;P&gt;If you are using dataURL method use these lines:&lt;/P&gt;&lt;P&gt;header('Content-type: text/xml');&lt;BR&gt;&lt;STRONG&gt;echo &lt;/STRONG&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;pack("CCC",0xef,0xbb,0xbf); //adding BOM characters&lt;BR&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#4b6e9d&gt;echo strXML;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Verdana','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT color=#4b6e9d&gt;If you are using dataXML method you would need to save the PHP file with UTF-8 encoding with BOM. You can do this using Notepad or Drreamweaver etc.&lt;/FONT&gt;&lt;/SPAN&gt;</description><pubDate>Wed, 30 Apr 2008 05:45:25 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>multiligual characters and PHP generated XML</title><link>http://www.fusioncharts.com/forum/Topic5782-29-1.aspx</link><description>First of all HI,&lt;br&gt;And thank you to all developers who works hard on FusionChart product&lt;br&gt;&lt;br&gt;my issue:&lt;br&gt;I'm using dataURL method to generate XML.&lt;br&gt;&lt;br&gt;--XML generating file---&lt;br&gt;&lt;br&gt;header('Content-type: text/xml; charset: utf-8');&lt;br&gt;echo $strXML;&lt;br&gt;---------------------------&lt;br&gt;&lt;br&gt;All my non-English characters are wrong.&lt;br&gt;&lt;br&gt;How can I fix this issue?&lt;br&gt;And how can I write BOM mark in PHP (add to $strXML variable).&lt;br&gt;&lt;br&gt;I'm using PHP 5&lt;br&gt;&lt;br&gt;&lt;br&gt;Thank you.&lt;br&gt;&lt;br&gt;&lt;br&gt;</description><pubDate>Sat, 19 Apr 2008 05:38:28 GMT</pubDate><dc:creator>dartmix</dc:creator></item></channel></rss>