SIP: Stop trying to use decode_utf8
authorJeff Godin <jgodin@tadl.org>
Sun, 22 May 2016 19:02:01 +0000 (15:02 -0400)
committerJeff Godin <jgodin@tadl.org>
Sun, 22 May 2016 19:02:01 +0000 (15:02 -0400)
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP.pm

index cf98f33..a80b85b 100644 (file)
@@ -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') {