Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cj John on Dec 03, 2007 21:56
open dhtmlx forum
Can dhtmlxgrid read utf-8 xml?? -

Hi im trying to play around dhtmlxgrid which i am hoping to present to our clients. But the thing is can it read utf-8 characters from XML. Because i have some japanese characters in there and when i try loading them using mygrid.loadXML("Japanese.xml"); what i get is some unknown characters.is there a way for me to read those japanese characters from xml correctly?


--- i wrote this question a while ago.. sorry i was able to figure it out... the problem is i should not be using UTF-8 instead i should use shift-JIS for my encoding... sorry!

cheers - cj
Answer posted on Dec 04, 2007 01:48
Component is encoding agnostic, so while you set correct encoding in XML header data can be loaded and shown correctly.