I’m creating a xml string with encoding UTF-8. I’ve encoded all the item text and id with URLEncoder.encode(value, “UTF-8”).
I display the tree in a jsp page as follow. treeXML is a jsp bean returning the xml string:
var tree = new dhtmlXTreeObject("menuTree", "100%", "100%", 0);
The tree displays fine but I need to decode the item label. How can I do that as they show up encoded?
Thanks in advance for your help.