Fixed macroman<->latin1 conversion. Some characters don't exist in latin1, but at least the roundtrip gives
the correct macroman characters again.
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py
index 88c415c..540fca0 100644
--- a/Mac/Tools/IDE/Wapplication.py
+++ b/Mac/Tools/IDE/Wapplication.py
@@ -344,18 +344,18 @@
# XXX and that's the last thing we want here.
f, filename, (suff, mode, dummy) = imp.find_module(modname)
except ImportError:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for %s" % modname
else:
if not f:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for %s" % modname
f.close()
if suff == '.py':
self.openscript(filename, lineno, charoffset)
return
else:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for %s" % modname
else:
- raise W.AlertError, "Can¹t find file %s¹" % filename
+ raise W.AlertError, "CanÕt find file %sÕ" % filename
if lineno is not None:
editor.selectline(lineno, charoffset)
return editor