title: htmlentities() makes Chinese characters unusable
body: <p>we have a web application where we allow users to enter their own html in a text area. We save that data to our database.</p>
  
  <p>When we load the html data into the text area, of course, we use htmlentities() before throwing the html data into the textarea. Otherwise users could save  inside the textarea and our application would break when loading that into the textarea.</p>
  
  <p>this works great, except when entering Chinese characters (and probably other languages such as Arabic, Japanese). </p>
  
  <p>The htmlentities() makes the chinese text unusable like this: Ã�Â¨Ã�Â³Ã�Â¼Ã�Â§Ã¯
  When I remove the htmlentities() before loading the entered html into the text area, Chinese characters show up just fine, but then we have the problem of HTML interfering with our textarea, especially when a users enters  inside the text area.</p>
  
  <p>I hope that makes sense.</p>
  
  <p>Does anyone know how we can safely and correctly allow languages such as Chinese, Japanese, ... to be used inside our text area, while still being safe for loading any html inside our text area?</p>