projects
/
contrib
/
Conifer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe8284
)
Combining breve for Mr. Sakharov
author
Dan Scott
<dan@coffeecode.net>
Fri, 29 Jul 2011 17:50:08 +0000
(13:50 -0400)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/tools/ebooks/prep_ebook_records.py
b/tools/ebooks/prep_ebook_records.py
index
f81554c
..
9ff416a
100644
(file)
--- 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