this helps to locate the reason for Can't encode path to ...:

Can't encode path PUR:Seiltänzertraum.m3u as ascii.

--- /tmp/Util.pm        2005-05-05 06:54:51.000000000 +0200
+++ Util.pm     2005-05-05 06:51:00.000000000 +0200
@@ -308,7 +308,7 @@
     my $enc = ref $_[2] ? $_[2] : get_encoder ($_[2]);
     Encode::_utf8_on ($_[0]);
     my $buf = eval { $enc->encode ($_[0], 1) };
-    die loc ("Can't encode %1 as %2.\n", $_[1], $enc->name) if $@;
+    die loc ("Can't encode %1 %2 as %3.\n", $_[1], $_[0], $enc->name) if $@;
     $_[0] = $buf;
     return;
 }

-- 
Wolfgang

Reply via email to