From 2840c2fa75bc22f8ff6a3e22475cea4913fa8a9a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 5 Nov 2014 11:59:38 -0300 Subject: [PATCH] Bug 11944: revert unneeded IsStringUTF8ish behaviour change Signed-off-by: Tomas Cohen Arazi --- C4/Charset.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Charset.pm b/C4/Charset.pm index 11dde87..dfc946d 100644 --- a/C4/Charset.pm +++ b/C4/Charset.pm @@ -113,7 +113,7 @@ sub IsStringUTF8ish { my $str = shift; return 1 if Encode::is_utf8($str); - return Encode::decode('UTF-8', $str); + return utf8::decode( $str ); } =head2 SetUTF8Flag -- 2.1.0