title: Java how to encode single quote and double quote into HTML entities?
body: <p>How can I encode <code>"</code> into <code>&amp;#34;</code> and <code>'</code> into <code>&amp;#39;</code> ?</p>
  
  <p>I am quite suprised single quote and double quote is not defined in HTML Entities 4.0, and so <code>StringEscapeUtils</code> not able to escape these 2 characters into respective entities.</p>
  
  <p>Is there any other String related tool able to do this?</p>
  
  <p>Any reason why single quote and double quote is not defined in HTML Entities 4.0?</p>
  
  <p>Besides single quote and double quote, is there any framework able to encode all the unicode character into respective entities? Since all the unicode can be manually translate into decimal entities and show in HTML, so wonder is there any tool able to convert it automatically?</p>