Encode.pm change to the UTF8 flag
authorDan Scott <dscott@laurentian.ca>
Mon, 21 Oct 2013 15:58:06 +0000 (11:58 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 25 Oct 2013 18:06:24 +0000 (14:06 -0400)
commit675e6b0adef2c2999d8497492ecf4e83dd590da1
tree2e09859a04a0bff8244b80d6fe3de8b76797dab0
parent4cb4ab7aa8f68799b1b4c0df4447d7f252c2d5d1
Encode.pm change to the UTF8 flag

In the past, decode_utf8() silently ignored attempts to decode data
with the UTF8 flag on. However, Encode.pm changed around 2.53 and
resulted in wide-character errors preventing the likes of
--load-all-sample from working.

Since our data should already be UTF8 when it hits these functions, we
should not be trying to decode it in the first place.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
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/sql/Pg/002.functions.config.sql