diff -r fe5cd20cb0eb -r 9a18f4dbb493 patch_modpython.py --- a/patch_modpython.py Sun Jan 10 13:59:15 2010 +0000 +++ b/patch_modpython.py Sun Jan 10 19:19:52 2010 +0000 @@ -76,7 +76,7 @@ try: filename = os.path.join(modDir, "apache.py") - f = open(filename, "r") + f = open(filename, "r", encoding = "utf-8") except EnvironmentError: print("The file %s does not exist. Aborting." % filename) sys.exit(1) @@ -88,7 +88,7 @@ ericFound = False sn = "apache.py" - s = open(sn, "w") + s = open(sn, "w", encoding = "utf-8") for line in lines: if not pdbFound and line.startswith("import pdb"): s.write("import eric5.DebugClients.Python.eric5dbgstub as pdb\n")