| author | ymh <ymh.work@gmail.com> |
| Fri, 08 Jul 2011 13:31:34 +0200 | |
| changeset 74 | 85f7f99c044c |
| parent 73 | 83695a58e4d6 |
| child 75 | 2dfaf17ec9ef |
| web/hdabo/fixtures/datasheet_all.yaml.bz2 | file | annotate | diff | comparison | revisions | |
| web/hdabo/utils.py | file | annotate | diff | comparison | revisions |
--- a/web/hdabo/utils.py Fri Jul 08 12:09:59 2011 +0200 +++ b/web/hdabo/utils.py Fri Jul 08 13:31:34 2011 +0200 @@ -345,4 +345,4 @@ return u"".join([c for c in nkfd_form if not unicodedata.combining(c)]) def normalize(str): - return remove_accents(str).lower() + return remove_accents(str).lower().replace(u"œ",u"oe")