Re: [Rhythmbox-devel] tag writing with utf-8 and taglib



Le mardi 27 juin 2006 à 16:44 +0700, Nguyễn Thái Ngọc Duy a écrit :
> Hi,
> When writing utf-8 tags, taglib will not try to change frame encoding.
> If frame encoding is iso-8859-1, then the string will be converted
> (lossily) to iso-8859-1. Although I think the behaviour is ok for
> taglib itself, it's ruining my songs. I would like to have an option
> to allow rhythmbox (more accurate id3v2mux) to change id3v2 tag frame
> encoding from iso-8859-1 to utf-8 if necessary. Do you have any idea?

Hmm, maybe the gstreamer taglib element
(gst-plugins-good/ext/taglib/gstid3v2mux.c) is missing a call to 
TagLib::ID3v2::FrameFactory::instance()->setDefaultTextEncoding(TagLib::String::UTF8);
(or explicit calls to frame->setTextEncoding (String::UTF8); for each
handled tags). I don't have time to investigate more than that atm
though...

Christophe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]