We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2e74c commit 9113b6bCopy full SHA for 9113b6b
modules/ARename/MP3RecodeToUTF8.pm.in
@@ -76,6 +76,9 @@ sub mp3_recode_to_utf8 {
76
my $src = $datref->{$tag};
77
if ($src =~ m/[^[:ascii:]]/) {
78
$datref->{$tag} = Encode::encode("UTF-8", $src);
79
+ if (utf8::valid($datref->{$tag})) {
80
+ utf8::decode($datref->{$tag});
81
+ }
82
if (ARename::get_opt('verbosity') >= 20) {
83
print "$name: * Recoded ($tag)\n";
84
print "$name: * From: \"$src\"\n";
0 commit comments