Encode.pm change to the UTF8 flag
authorDan Scott <dscott@laurentian.ca>
Mon, 21 Oct 2013 15:58:06 +0000 (11:58 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 20 Feb 2014 15:08:52 +0000 (10:08 -0500)
commit9fa85a2ebaded8dec0f5695f2eb60847a8760015
tree53961d2c0ba9cd11b7651a71afe49a3797717514
parenta4963a1da50cc38d23bdfb31ad89a6bb867371ef
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