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, 1 Nov 2013 22:48:02 +0000 (18:48 -0400)
commit9356151f4840bc496ed77adfd60559ec4383d675
treeef38491812d59c8f6811ee15744839d4a41b9297
parent0447d72b4dd3b5f6854472b13bc3f88660c8bd10
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