Package: abcde
Version: 2.3.99.2-1
Severity: normal
Tags: patch
Hi,
When submitting the entry to freedb, the latter complains "garbage
character on line foo", because no charset was precised by abcde. Abcde
should really set a charset, because else only ASCII chars will be
accepted. FYI, only ASCII, ISO-8859-1 and UTF-8 charsets are allowed.
The preferred solution would be to use "iconv -t UTF-8" to convert then
entry to UTF-8 and then set the charset to UTF-8 while submitting.
Regards,
Samuel
--- /usr/bin/cddb-tool 2005-12-12 23:07:20.000000000 +0100
+++ cddb-tool 2006-01-02 23:15:09.000000000 +0100
@@ -196,7 +196,7 @@
ADDRESS="$2"
DISCID=$(grep ^DISCID= "$FILE" | cut -f2 -d= | tr -d \[:cntrl:\])
CDDBGENRE=$(grep '^#CATEGORY=' "$FILE" | cut -f2- -d= | tr -d
\[:cntrl:\])
- grep -v "^#CATEGORY=" "$FILE" | mail -s "cddb $CDDBGENRE $DISCID"
"$ADDRESS"
+ grep -v "^#CATEGORY=" "$FILE" | iconv -t utf-8 | mail -a "Content-Type:
text/plain; charset=utf-8" -s "cddb $CDDBGENRE $DISCID" "$ADDRESS"
;;
query) # cddb-tool query serverurl proto user host discid...
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages abcde depends on:
ii cd-discid 0.9-1 CDDB DiscID utility
ii cdda2wav 4:2.01+01a03-4 Creates WAV files from audio CDs
ii cdparanoia 3a9.8-11 An audio extraction tool for sampl
ii lame 3.96.1-1 LAME Ain't an MP3 Encoder
ii vorbis-tools 1.1.1-1 several Ogg Vorbis tools
ii wget-ssl [wget] 1.8.1-2 retrieves files from the web (with
abcde recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]