--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py Sat Aug 31 12:29:57 2019 +0200 +++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/jsCheckSyntax.py Sat Aug 31 12:58:11 2019 +0200 @@ -53,13 +53,6 @@ if codestring and codestring[-1] != '\n': codestring = codestring + '\n' - - # Check type for py2: if not str it's unicode -# if sys.version_info[0] == 2: -# try: -# codestring = codestring.encode('utf-8') -# except UnicodeError: -# pass return codestring