--- a/Plugins/CheckerPlugins/CodeStyleChecker/pep8.py Fri Jul 24 18:44:45 2015 +0200 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/pep8.py Sat Jul 25 12:58:42 2015 +0200 @@ -1046,7 +1046,7 @@ ############################################################################## -if '' == ''.encode(): +if '' == ''.encode("utf-8"): # Python 2: implicit encoding. def readlines(filename): """Read the source code."""