From: Dan Scott Date: Fri, 29 Jul 2011 17:50:08 +0000 (-0400) Subject: Combining breve for Mr. Sakharov X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e527817d226754a9afffbe52c6707a735fd6fc75;p=contrib%2FConifer.git Combining breve for Mr. Sakharov Signed-off-by: Dan Scott --- diff --git a/tools/ebooks/prep_ebook_records.py b/tools/ebooks/prep_ebook_records.py index f81554c2ff..9ff416ad3f 100644 --- a/tools/ebooks/prep_ebook_records.py +++ b/tools/ebooks/prep_ebook_records.py @@ -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