Hello,
mp32ogg 0.11-4 has been uploaded to sid.
It fixes RC bug #310265
Thanks,
Here is the diff with 0.11-3:
diff -ur mp32ogg-0.11/debian/changelog mp32ogg/debian/changelog
--- mp32ogg-0.11/debian/changelog 2004-08-08 20:51:47.000000000 +0200
+++ mp32ogg/debian/changelog 2005-05-23 17:38:40.555832410 +0200
@@ -1,3 +1,9 @@
+mp32ogg (0.11-4) unstable; urgency=high
+
+ * Fix problem with UTF-8 char (Closes: #310265)
+
+ -- Julien Danjou <acid@debian.org> Mon, 23 May 2005 17:38:21 +0200
+
mp32ogg (0.11-3) unstable; urgency=low
* Add support for selectable Ogg/Vorbis output quality.
diff -ur mp32ogg-0.11/mp32ogg mp32ogg/mp32ogg
--- mp32ogg-0.11/mp32ogg 2004-08-08 20:45:17.000000000 +0200
+++ mp32ogg/mp32ogg 2005-05-23 17:40:48.981605974 +0200
@@ -86,6 +86,11 @@
use File::Basename;
use Getopt::Long;
use String::ShellQuote;
+use Encode;
+use POSIX qw/setlocale LC_CTYPE/;
+use I18N::Langinfo qw/langinfo CODESET/;
+
+setlocale(LC_CTYPE, '');
use_winamp_genres();
@@ -158,6 +163,13 @@
$info = get_mp3tag($mp3file);
$fileinfo = get_mp3info($mp3file);
+ # get_mp3info returns magical Perl UTF-8 strings, but this script
+ # really wants to deal with plain old sequences-of-octets, so encode
+ # those strings.
+ for $key (keys %$info) {
+ $info->{$key} = encode(langinfo(CODESET), $info->{$key});
+ }
+
$_ = $filename;
my $channels = 2; # default to stereo
Cheers,
--
Julien Danjou
.''`. Debian Developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
`- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
Attachment:
signature.asc
Description: Digital signature