title: XMLParser encoding problems
body: <pre><code>public XMLParser(InputStream is) {
      try {
          DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
          DocumentBuilder db;
          db = dbf.newDocumentBuilder();
          Document doc = db.parse(is);
          node = doc.getDocumentElement();
      } catch (Exception e) {
          DebugLog.log(e);
      }
  }
  </code></pre>
  
  <p>The inputStream contains content like: "Hey there this is a &amp;uuml; character."
  The character '&amp;uuml;' is a 'ü';</p>
  
  <p>When reading the node's content System.out.println(node.getTextContent()) I receive "hey there this is a character." &amp;uuml; is cut of.</p>