[sword-devel] testing for diacritics
Peter von Kaehne
refdoc at gmx.net
Fri Aug 28 06:16:16 MST 2015
On Fri, 2015-08-28 at 09:21 +0100, Peter von Kaehne wrote:
> On Fri, 2015-08-28 at 01:27 +0200, Matěj Cepl wrote:
> > iconv -f utf8 -t us-ascii//translit file.xml \
> > |diff -u - file.xml
>
> Thanks Matej,
>
> This would probably work on latin scripts with diacritics, but not on
> the scripts I am interested in - Hebrew, Arabic derrived and Greek
But I think the basic idea is right.
What I now think I need to do is to use the engine strip filters on the
text content and compare the output with the input - if there is a
difference the strip filter option needs setting.
Thanks Matej!
Peter
More information about the sword-devel
mailing list