encoding header for python 2
fix python 2 encoding issues