Encoding errors fixed, Python3 suppoort fixed