Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py
index 9eaa809..e8aac83 100644
--- a/Mac/Tools/IDE/PyBrowser.py
+++ b/Mac/Tools/IDE/PyBrowser.py
@@ -38,7 +38,7 @@
value = _repr(value)
'' + value # test to see if it is a string, in case a __repr__ method is buggy
except:
- value = ' exception in repr()'
+ value = ' exception in repr()'
if truncvalue:
return key + '\t' + value[:255]
return key + '\t' + value
@@ -360,7 +360,7 @@
def unpack_object(object, indent = 0):
tp = type(object)
if tp in SIMPLE_TYPES and tp is not types.NoneType:
- raise TypeError, 'can¹t browse simple type: %s' % tp.__name__
+ raise TypeError, 'canÕt browse simple type: %s' % tp.__name__
elif tp == types.DictionaryType:
return unpack_dict(object, indent)
elif tp in (types.TupleType, types.ListType):