summaryrefslogtreecommitdiff
path: root/logilab/common/textutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/textutils.py')
-rw-r--r--logilab/common/textutils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/logilab/common/textutils.py b/logilab/common/textutils.py
index 9046f97..356b1a8 100644
--- a/logilab/common/textutils.py
+++ b/logilab/common/textutils.py
@@ -70,6 +70,8 @@ MANUAL_UNICODE_MAP = {
u'\xf8': u'o', # LATIN SMALL LETTER O WITH STROKE
u'\xbb': u'"', # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
u'\xdf': u'ss', # LATIN SMALL LETTER SHARP S
+ u'\u2013': u'-', # HYPHEN
+ u'\u2019': u"'", # SIMPLE QUOTE
}
def unormalize(ustring, ignorenonascii=None, substitute=None):