In an effort to further consume copious amounts of disk space, I'm working 
on a perl script that will rip my CD collection and encode it into FLAC, 
VBR MP3 (with lame), and Ogg Vorbis (oggenc).

While I don't mind so much what characters end up in the ID3 tags, I want to 
forcibly mangle the Artist, Album Title and Track Titles I get out of CDDB 
to be all lowercase, convert spaces to underscores, and replace characters 
with diacritics with their unadorned ASCII characters.

The part that's nailing me is the letters with diacritics.

The only thing I've found is recipe 6.12 in the Perl Cookbook, 2nd Ed., 
which tells me to use Perl's Locale support.  However, if I set my locale 
to English, diacritic characters are simply replaced with whitespace...

Anyone have other ideas, or am I forced to build my own lookup tables?

Gregory

-- 
Gregory K. Ruiz-Ade <[EMAIL PROTECTED]>
OpenPGP Key ID: EAF4844B  keyserver: pgpkeys.mit.edu

Attachment: pgp87phCVhOJj.pgp
Description: PGP signature

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to