# HG changeset patch # User ymh # Date 1310124694 -7200 # Node ID 85f7f99c044ccdd53e5a9fbd7cd36222d099828c # Parent 83695a58e4d6d7a484bde77249185a89725e1c39 improve normalization diff -r 83695a58e4d6 -r 85f7f99c044c web/hdabo/fixtures/datasheet_all.yaml.bz2 Binary file web/hdabo/fixtures/datasheet_all.yaml.bz2 has changed diff -r 83695a58e4d6 -r 85f7f99c044c web/hdabo/utils.py --- 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")