title: How to render contents of a tag in unicode in BeautifulSoup?
body: <p>This is a soup from a WordPress post detail page:</p>
  
  <pre><code>content = soup.body.find('div', id=re.compile('post'))
  title = content.h2.extract()
  item['title'] = unicode(title.string)
  item['content'] = u''.join(map(unicode, content.contents))
  </code></pre>
  
  <p>I want to omit the enclosing <code>div</code> tag when assigning <code>item['content']</code>. Is there any way to render all the child tags of a tag in unicode? Something like:</p>
  
  <pre><code>item['content'] = content.contents.__unicode__()
  </code></pre>
  
  <p>that will give me a single unicode string instead of a list.</p>