From 55e320bcc73b6ef5c40b70d02dc69049a7e4c1e8 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 29 Nov 2013 20:35:40 -0800 Subject: [PATCH] eliminate convert to utf8 warning --- Debbugs/UTF8.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Debbugs/UTF8.pm b/Debbugs/UTF8.pm index 0ad284d..0c4d336 100644 --- a/Debbugs/UTF8.pm +++ b/Debbugs/UTF8.pm @@ -179,7 +179,8 @@ 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}/) { - warn "failed to convert to utf8 (charset: $charset, data: $data), but succeeded with ISO8859-1: ".encode_utf8($call_back_data); + # 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; } } -- 2.39.2