title: Are null bytes allowed in unicode strings in PostgreSQL via Python?
body: <p>Are null bytes allowed in unicode strings?</p>
  
  <p>I don't ask about utf8, I mean the high level object representation of a unicode string.</p>
  
  <p><strong>Background</strong></p>
  
  <p>We store unicode strings containing null bytes via Python in PostgreSQL.</p>
  
  <p>The strings cut at the null byte if we read it again.</p>