Show quoted text> I guess that's probably bad ... but I am not entirely sure. I am
> tired
> and my brain is not working ... is converting it to Latin-1
definitely
Show quoted text> the Right Thing?
Well, if you assume in get_mp3tag() that incoming ID3v1 tags are in
Latin-1, it might be wise to ensure that outgoing ID3v1 tags are in
Latin-1 as well :-).
The Right Thing (TM) is probably using ID3v2 (and Unicode).
Hmmm. How about abandoning use_mp3_utf8() and introducing a new
function that selects the default ID3v1 encoding (input/output;
default: Latin-1). Maybe with some additional OOP sugar:
MP3::Info->new(FILE, ENCODING) reads FILE's tag encoded in ENCODING,
$tag->setencoding(ENCODING) sets the encoding for subsequent tag
writes.
How popular are not-Latin-1-encoded ID3v1 tags?