title: Python string argument without an encoding
body: <p>Am trying to a run this piece of code, and it keeps giving an error saying "String argument without an encoding"</p>
  
  <pre><code>ota_packet = ota_packet.encode('utf-8') + bytearray(content[current_pos:(final_pos)]) + '\0'.encode('utf-8')
  </code></pre>
  
  <p>Any help?</p>