Test failures in Perl Unicode normalization
authorDan Scott <dscott@laurentian.ca>
Tue, 22 Oct 2013 04:02:55 +0000 (00:02 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 22 Oct 2013 04:11:26 +0000 (00:11 -0400)
commit7aa30204d3ed3ae60aa253b52edf565ac614a0bf
tree4bbc6cf5cf41b0ed4103384e0076313c6bb45712
parent62cbc55f7dac21d568382fb7d4c59b5d597aaec6
Test failures in Perl Unicode normalization

Newer versions of Perl and Encode exhibit different behaviour from
before. The NFD version of entityize appears not to work, for example,
so this ignores the requested form and always operates on the NFC
version. We also use NFD() instead of decode_utf8() as we are operating
on Unicode data in this environment.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/Normalize.pm
Open-ILS/src/perlmods/t/14-OpenILS-Utils.t