title: Python HTML Encoding \xc2\xa0
body: <p>I've been struggling with this one for a while. I'm trying to write strings to HTML but have issues with the format once I've cleaned them. Here's an example:</p>
  
  <pre><code>paragraphs = ['Grocery giant and household name Woolworths is battered and bruised. ', 
  'But behind the problems are still the makings of a formidable company']
  
  x = str(" ")
  for item in paragraphs:
      x = x + str(item)
  x
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>"Grocery giant and household name\xc2\xa0Woolworths is battered and\xc2\xa0bruised. 
  But behind the problems are still the makings of a formidable\xc2\xa0company"
  </code></pre>
  
  <p>Desired output:</p>
  
  <pre><code>"Grocery giant and household name Woolworths is battered and bruised. 
  But behind the problems are still the makings of a formidable company"
  </code></pre>
  
  <p>I'm hoping you're able to explain why this happens and how I can fix. Thanks in advance!</p>