jasontruell Report post Posted November 23, 2008 Does anyone know how to get UTF-8 characters to display properly with FusionMaps? The page is saved as UTF-8, the XML encoding is set to UTF-8, and I'm using the setDataURL method to link to my XML data source. What am I missing? Thanks for the help. Share this post Link to post Share on other sites
Rahul Kumar Report post Posted November 24, 2008 Hi, Please make sure that your XML file is save as UTF-8 enabled. Could you please see this post http://www.fusioncharts.com/forum/FindPost8054.aspx for more information? Share this post Link to post Share on other sites
jasontruell Report post Posted November 28, 2008 (edited) Thanks for your reply. I referenced the other thread and tried again to save the xml file at UTF-8 but that didn't seem to help. It is saved as UTF-8 but the Chinese stills comes up as unreadable. Here is the content of the XML file below: <map baseFontSize='9' baseFontColor='252525' baseFont='Verdana' showCanvasBorder='0' showShadow='0' showBevel='0' useSNameInLabels='0' includeValueInLabels='0' showLabels='1' includeNameInLabels='1' showMarkerLabels='0' showMarkerToolTip='1' borderColor='C7C1A0' fillColor='edebd5' useHoverColor='1' hoverColor='993300'> <data> <entity id='CN.HK' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/hong-kong/' displayValue='??' toolText='??: 4 Stories' /> <entity id='CN.QH' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/qinghai/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.YN' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/yunnan/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.SA' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/shaanxi/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.LN' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/liaoning/' displayValue='??' toolText='??: 3 Stories' /> <entity id='CN.FJ' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/fujian/' displayValue='??' toolText='??: 4 Stories' /> <entity id='CN.GS' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/gansu/' displayValue='??' toolText='??: 8 Stories' /> <entity id='CN.HN' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/hunan/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.HU' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/hubei/' displayValue='??' toolText='??: 2 Stories' /> <entity id='CN.ZJ' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/zhejiang/' displayValue='??' toolText='??: 8 Stories' /> <entity id='CN.HE' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/henan/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.HB' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/hebei/' displayValue='??' toolText='??: 2 Stories' /> <entity id='CN.JX' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/jiangxi/' displayValue='??' toolText='??: 2 Stories' /> <entity id='CN.JS' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/jiangsu/' displayValue='??' toolText='??: 8 Stories' /> <entity id='CN.XJ' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/xinjiang/' displayValue='??' toolText='??: 4 Stories' /> <entity id='CN.GX' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/guangxi/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.GD' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/guangdong/' displayValue='??' toolText='??: 11 Stories' /> <entity id='CN.SX' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/shanxi/' displayValue='??' toolText='??: 3 Stories' /> <entity id='CN.AH' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/anhui/' displayValue='??' toolText='??: 2 Stories' /> <entity id='CN.TJ' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/tianjin/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.SC' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/sichuan/' displayValue='??' toolText='??: 1 Story' /> <entity id='CN.TA' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/taiwan/' displayValue='??' toolText='??: 2 Stories' /> <entity id='CN.BJ' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/beijing/' displayValue='??' toolText='??: 13 Stories' /> <entity id='CN.NM' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/inner-mongolia/' displayValue='???' toolText='???: 1 Story' /> <entity id='CN.SH' link='http://www.bdcconline.net/zh-hant/stories/by-locale/china/shanghai/' displayValue='??' toolText='??: 28 Stories' /> </data> </map> Thanks Edited November 28, 2008 by Guest Share this post Link to post Share on other sites
jasontruell Report post Posted November 28, 2008 Okay, I just got it to work. I'm using Dreamweaver on a Mac and when I checked "Include Unicode Signature (BOM)" under page properties it caused the Chinese characters to display correctly in the browser. Share this post Link to post Share on other sites