From c1e75d95c13f6eee442bbe0e383aa3944a2cbe3b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 20 Mar 2013 13:37:20 -0700 Subject: [PATCH] when we fail to commit to utf8, output the charset and data --- Debbugs/UTF8.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/UTF8.pm b/Debbugs/UTF8.pm index 45da58f..7ab8f9c 100644 --- a/Debbugs/UTF8.pm +++ b/Debbugs/UTF8.pm @@ -178,7 +178,7 @@ sub convert_to_utf8 { if (not defined $retval or $retval < 0 ) { - warn "failed to convert to utf8"; + 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