From 1a1fa6f0af2be9d4076d9aad5f5a84c5fb3d9a8a Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 9 Apr 2017 16:26:04 -0700 Subject: [PATCH] remove UTF8 warnings --- Debbugs/UTF8.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/Debbugs/UTF8.pm b/Debbugs/UTF8.pm index c4067f5..230ab79 100644 --- a/Debbugs/UTF8.pm +++ b/Debbugs/UTF8.pm @@ -179,12 +179,9 @@ sub convert_to_utf8 { # if there's an à (0xC3), it's probably something # horrible, and we shouldn't try to convert it. if (defined $call_back_data and $call_back_data !~ /\x{C3}/) { - # this warning produces far too much useless output; elminating it - # warn "failed to convert to utf8 (charset: $charset, data: $data), but succeeded with ISO8859-1: ".encode_utf8($call_back_data); return $call_back_data; } } - warn "failed to convert to utf8 (charset: $charset, data: $data)"; # Fallback to encode, which will probably also fail. return __fallback_convert_to_utf8($data,$charset); } -- 2.39.2