From e527817d226754a9afffbe52c6707a735fd6fc75 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 29 Jul 2011 13:50:08 -0400 Subject: [PATCH] Combining breve for Mr. Sakharov Signed-off-by: Dan Scott --- tools/ebooks/prep_ebook_records.py | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.11.0