Does the tree support UTF-8 encoding? The reason
I ask is because my project requires storing Chinese character encoded in
UTF-8. I�ve tried to save Chinese character in �userdata� but shows
gibberish in later retrieval. I�m expecting it to show \uxxxx for each
character in my output text file.
The dhtmlxTree is a pure html component so it must
work with any browser encoding. To work correctly with UTF you need to do next:
a) Set page encoding to UTF
b) Be sure that XML has correct header
<?xml version='1.0' encoding='utf-8'?>
c) Enable utf escaping
tree.setEscapingMode(“utf8”);