title: How to encode special chars in html content
body: <p>In Java, Is there a third party source available or quick command to convert html special chars in a string to html encoded content?</p>
  
  <p>For example:</p>
  
  <pre><code>Original code:     &lt;&gt;&amp;abcdef ©
  After encoding:    &amp;lt;&amp;gt;&amp;amp;abcdef&amp;copy;
  </code></pre>