summaryrefslogtreecommitdiffstats
path: root/jamaldo.pl
diff options
context:
space:
mode:
Diffstat (limited to 'jamaldo.pl')
-rwxr-xr-xjamaldo.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/jamaldo.pl b/jamaldo.pl
index e1e94db..1b4ff81 100755
--- a/jamaldo.pl
+++ b/jamaldo.pl
@@ -148,6 +148,7 @@ sub get_track
$comments_fname = sprintf("%s/%02d - %s.comments",
$dir, $track->{"position"}, $name);
open($comments_fh, ">", $comments_fname);
+ binmode($comments_fh, ":encoding(UTF-8)");
while (($vorbis_field, $jamendo_field) = each(%fields)) {
$jamendo_field = $track->{$jamendo_field};
$jamendo_field =~ s/\n/\\n/g;