]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/UTF8.pm
next release will be 2.6.0; document more issues which have been fixed
[debbugs.git] / Debbugs / UTF8.pm
index bc3a0faaaaeedd7da6c0a0aed19f50709b4c3e85..0c4d33619dce695ab2de3b0a6c6bd1eba97fba94 100644 (file)
@@ -68,7 +68,7 @@ our $depth = 0;
 sub encode_utf8_structure {
     ++$depth;
     my @ret;
-    for my $_ (@_) {
+    for $_ (@_) {
        if (ref($_) eq 'HASH') {
            push @ret, {encode_utf8_structure(%{$depth == 1 ? dclone($_):$_})};
        }
@@ -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;
             }
         }