applied a couple of patches from Mark Itzcovitz to handle saving back

* tree.c: applied a couple of patches from Mark Itzcovitz
  to handle saving back "UTF-16" documents.
Daniel
2 files changed