resolve 'ascii' codec can't decode byte 0xe7 error by encoding using utf-8