code: public static void writeXmlToUTF8(Element ele, Writer out) 
              throws IOException {
          XMLSerializer serializer =
                  new XMLSerializer(out, XML_TO_UTF8);
          serializer.serialize(ele);
      }
docs: method: "XML"
  charset: "UTF-8"
  indenting: FALSE
  indent-width: 0
  line-width: 0
  preserve-space: FALSE
  omit-XML-declaration: FALSE
  omit-DOCTYPE: FALSE
  @param ele
  @param out
  @throws IOException