[Wactclc-alma] Norm Rule to remove rule <U+fffd>

Lesley Caldwell LCaldwell at pierce.ctc.edu
Thu Mar 24 14:35:25 PDT 2022


Hi all,

One last question. :) I'm working on another normalization rule that we can't quite get right! Victoria found this indication rule<https://developers.exlibrisgroup.com/blog/alma-indication-rule-for-bad-diacritics/>, but we don't just want to find the diacritics, we also want to remove them.

We've tried:
rule "Contains <U+fffd> in 0XX or 1XX or 2xx or 3xx or 4xx or 5xx or 6XX or 7XX or 8xx fields"
when
     ((exists "0**.*.*<U+fffd>*") OR (exists "1**.*.*<U+fffd>*") OR (exists "2**.*.*<U+fffd>*") OR (exists "3**.*.*<U+fffd>*") OR (exists "4**.*.*<U+fffd>*") OR (exists "5**.*.*<U+fffd>*") OR (exists "6**.*.*<U+fffd>*") OR (exists "7**.*.*<U+fffd>*") OR (exists "8**.*.*<U+fffd>*"))
then
replaceContents "<U+fffd>" with ""
end

And:

rule "Contains <U+fffd> in 0XX or 1XX or 2xx or 3xx or 4xx or 5xx or 6XX or 7XX or 8xx fields"
when
     (exists "<U+fffd>")
then
replaceContents "<U+fffd>" with ""
end

Does anything wrong stick out to anyone?

Thanks!

Lesley Caldwell

Systems and Instruction Librarian

Pierce College

p:

253-840-8420

a:

1601 39th Ave SE, Puyallup, WA 98374

w:

www.pierce.ctc.edu<http://www.pierce.ctc.edu/> e: LCaldwell at pierce.ctc.edu

[pierce college logo]





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ctc.edu/pipermail/wactclc-alma_lists.ctc.edu/attachments/20220324/5e3df7bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3749 bytes
Desc: image001.png
URL: <http://lists.ctc.edu/pipermail/wactclc-alma_lists.ctc.edu/attachments/20220324/5e3df7bc/attachment.png>


More information about the Wactclc-alma mailing list