keep references in Python to prefent bytes getting GCed
parse latin1 or utf-8