title: Can not get the text in ContentControl in Word by usting Python-docx
body: <p><a href="https://drive.google.com/open?id=1heJYFTToMDQVEudd5oLvStk2TGTvA88b" rel="nofollow noreferrer">ContentControl Document</a></p>
  
  <p>I am new to the Python and coding. New I have a problem and need your help.
  I tried to read a docx document by using Python-docx, but all of the text I wanted were in the ContentControl. When I try to print the text of the paragraph with a ContentControl, error occurs.</p>
  
  <p>For exemple, I try to print the 1st paragraphe, using</p>
  
  <pre><code>import docx
  doc= docx.Document("C:\ContentControl.docx")
  p=doc.paragraphs
  print(p[0].text)
  </code></pre>
  
  <p>then I get an error like:</p>
  
  <pre><code>UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position 8: illegal multibyte sequence
  </code></pre>
  
  <p>So what should I do to get the text in ContentControl?
  Thanks a lot for your help!</p>