From: Jeff Godin Date: Sun, 22 May 2016 19:02:01 +0000 (-0400) Subject: SIP: Stop trying to use decode_utf8 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=08c1969ea476b1b3343bdfe4e16a42ec47f8214f;p=evergreen%2Ftadl.git SIP: Stop trying to use decode_utf8 Signed-off-by: Jeff Godin --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm index cf98f33e62..a80b85baca 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP.pm @@ -150,7 +150,7 @@ sub clean_text { # and latin-1 encodings (at least) require this to substitute # characters rather than simply returning a string truncated # after the first non-ASCII character - $text = NFD(decode_utf8($text)); + $text = NFD($text); if ($target_encoding eq 'ascii') {