# HG changeset patch # User Mikael Berthe # Date 1178056701 -7200 # Node ID 7a3843e91aa26c7c6ea95e1247fdc780416b18e3 # Parent c7bc5fcabc817401d17011509c2cdb6188a3dae4 Fix encoding issues diff -r c7bc5fcabc81 -r 7a3843e91aa2 plugins/aspell_plugin.py --- a/plugins/aspell_plugin.py Tue May 01 23:17:36 2007 +0200 +++ b/plugins/aspell_plugin.py Tue May 01 23:58:21 2007 +0200 @@ -19,11 +19,12 @@ stdout, stdin = popen2.popen2(aspell) - stdin.write(parameters) + stdin.write(parameters.encode('iso-8859-15')) stdin.close() r = stdout.readline() for r in stdout.readlines(): + r = r.decode('iso-8859-15') if r == "*\n": reply += "* Word correctly spelled.\n" elif r.startswith("& "):