typo and another encoding issue that affects only python2