add encoding to pyheader