title: Text changes when copied from word document to web page
body: <p>I am creating a blog engine and it includes a <code>&lt;textarea&gt;</code> which takes in the input of the whole article.</p>
  
  <p>I then use ajax and store it to the <code>Text</code> variable provided by the GAE datastore </p>
  
  <p>The Problem:
  If a user copies the text from a word document, them I see various random characters on the screen when embedded on the web page.
  I know this is because the word file uses XML encoding and a HTML page uses utf-8 encoding(in my case)</p>
  
  <p>The question:
  How do I change the encoding of the inputted text?
  Or how can I avoid the XML encoding?
  Or if changing the encoding of my web page might help solve this problem?</p>
  
  <p>Points to be noted: 
  I want to make it automated.. I have read on Google that you should 1st copy the text to some simple text editor which formats the encoding and them copy it to the web page.
  But this option is not feasible for me.</p>
  
  <p>Also I have used weebly before, and that time I copied text from a word file, if someone knows how weebly manages the encoding conflict!</p>
  
  <p>Answers are expected in java :)</p>