Added extra translations characters
authorThierry Florac <thierry.florac@onf.fr>
Fri, 22 Feb 2019 12:31:08 +0100
changeset 330 b20fc80aa6be
parent 329 1482a4b86075
child 331 15b593eddfcb
Added extra translations characters
src/pyams_utils/unicode.py
--- a/src/pyams_utils/unicode.py	Fri Feb 22 12:30:37 2019 +0100
+++ b/src/pyams_utils/unicode.py	Fri Feb 22 12:31:08 2019 +0100
@@ -46,7 +46,7 @@
         ("N", [0x00D1, 0x0143, 0x0145, 0x0147, 0x014A]),
         ("n", [0x00F1, 0x0144, 0x0146, 0x0148, 0x0149, 0x014B]),
         ("O", [0x00D2, 0x00D3, 0x00D4, 0x00D5, 0x00D6, 0x00D8, 0x014C, 0x014E, 0x0150]),
-        ("o", [0x00F2, 0x00F3, 0x00F4, 0x00F5, 0x00F6, 0x00F8, 0x014D, 0x014F, 0x0151]),
+        ("o", [0x00B0, 0x00F2, 0x00F3, 0x00F4, 0x00F5, 0x00F6, 0x00F8, 0x014D, 0x014F, 0x0151]),
         ("OE", [0x0152]),
         ("oe", [0x0153]),
         ("R", [0x0154, 0x0156, 0x0158]),
@@ -72,7 +72,7 @@
 _fillUnicodeTransTable()
 
 
-removed_chars = '®©™'
+removed_chars = '®©™…'
 """List of custom characters to remove from input strings"""