title: Extracting text from .doc files python
body: <p>I tried extracting text from .doc files. Text were extracted, but the problem is it always outputs with these:</p>
  
  <p>��ࡱ�>�� ln  characters.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    doc=open(input_file,'r')
      read_text_file = doc.readline()
      doc_text = ""
      for line in read_text_file:
          doc_text+=str(line)
  
      return doc_text
  </code></pre>
  
  <p>Is there a way to remove or re-encode it to utf-8?</p>