Added entry in strings translation table to replace typographic quotes with simple ones
authorThierry Florac <tflorac@ulthar.net>
Thu, 14 Feb 2019 17:10:08 +0100
changeset 325 cc4c85877d13
parent 324 b5def71481b3
child 326 d960e3f90a5e
Added entry in strings translation table to replace typographic quotes with simple ones
src/pyams_utils/unicode.py
--- a/src/pyams_utils/unicode.py	Fri Jan 18 15:33:33 2019 +0100
+++ b/src/pyams_utils/unicode.py	Thu Feb 14 17:10:08 2019 +0100
@@ -68,7 +68,8 @@
         ("Y", [0x00DD, 0x0176, 0x0178]),
         ("y", [0x00FD, 0x00FF, 0x0177]),
         ("Z", [0x0179, 0x017B, 0x017D]),
-        ("z", [0x017A, 0x017C, 0x017E])
+        ("z", [0x017A, 0x017C, 0x017E]),
+        ("'", [0x2019])
     ]
     for char, codes in _corresp:
         for code in codes: