Combining breve for Mr. Sakharov
authorDan Scott <dan@coffeecode.net>
Fri, 29 Jul 2011 17:50:08 +0000 (13:50 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 7 May 2013 18:36:48 +0000 (14:36 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py

index f81554c..9ff416a 100644 (file)
@@ -381,6 +381,9 @@ def clean_diacritics(field):
         # COMBINING ACUTE ACCENT
         tmpsf = tmpsf.replace(u'\xd4s', u's\u0301')
 
+        # COMBINING BREVE
+        tmpsf = tmpsf.replace(u'\xe6i', u'i\u0306')
+
         new_field.add_subfield(subfield[0], tmpsf)
         if r'\x' in repr(tmpsf):
             global RECORD_COUNT