From 1b0e1b453e2c6f34ae0096b032fa7f6a317a54c9 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Fri, 15 Jun 2012 20:30:40 +0200 Subject: [PATCH] add special characters (fix warnings) --- sortindex.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sortindex.py b/sortindex.py index 344b02bb..dd3d5d50 100644 --- a/sortindex.py +++ b/sortindex.py @@ -9,6 +9,8 @@ replacePattern = { '`A': 'À', '`a': 'à', '^a': 'â', + "'a": 'á', + "~a": 'ã', 'oe': 'œ', "'e" : 'é', "`e" : 'è', @@ -21,6 +23,9 @@ replacePattern = { r'"\i' : 'i', r'^\i' : 'i', '"u' : 'ü', + '`u' : 'ù', + '`u' : 'ù', + '~n' : 'ñ', "c C" : 'Ç', "c c" : 'ç', }