1 Dec 19:52
Non-UTF8 ID3 tags.
Robert Hart <enxrah <at> nottingham.ac.uk>
2003-12-01 18:52:20 GMT
2003-12-01 18:52:20 GMT
I've had a go at sorting out some of the problems with non-UTF8 friendly ID3 tags. This code simply checks to see if a tag contains valid-UTF8, and if it doesn't assume it must be in "ISO-8859-1". Obviously for the non-english speakers amongst us, they will want to assume something different. I plan to make this a preference in future, but for now you can edit the code by hand. What I don't think we will be able to do is "auto-detect" an enconding. I looked at the ruxmms, and the way it goes about it is really ugly. I am using glib to do the utf8 checking and conversion, but for the time being I just added a GTK dependency to the id3 code, which has the same effect. The problem I come across, is for this to be useful, I really need to blow away my music-catalogue and rebuild it, and that doesn't seem to be possible with the zinf in CVS. When is this mdb stuff going to work? Rob -- -- Robert Hart <enxrah <at> nottingham.ac.uk>
Index: plm/metadata/id3lib/Makefile.am =================================================================== RCS file: /cvsroot/zinf/zinf/plm/metadata/id3lib/Makefile.am,v retrieving revision 1.2 diff -a -u -r1.2 Makefile.am(Continue reading)
RSS Feed