Not sure about posting in a right place, but,
I've found solution for encoding error of mp3 tags (id3v2 version only).
Needs to change two lines in file module.tag.id3v2.php (getid3 library) in function TextEncodingNameLookup(...):
original:

static $TextEncodingNameLookup = array(0=>'ISO-8859-5', 1=>'UTF-16', 2=>'UTF-16BE', 3=>'UTF-8', 255=>'UTF-16BE');
return (isset($TextEncodingNameLookup[$encoding]) ? $TextEncodingNameLookup[$encoding] : 'ISO-8859-5');

modified:

static $TextEncodingNameLookup = array(0=>'windows-1251', 1=>'UTF-16', 2=>'UTF-16BE', 3=>'UTF-8', 255=>'UTF-16BE');
return (isset($TextEncodingNameLookup[$encoding]) ? $TextEncodingNameLookup[$encoding] : 'windows-1251');

Have no ideas about such misadjustment...

Comments

VM’s picture

Category: feature » support
Status: Patch (to be ported) » Closed (fixed)

This issue should be directed to the getid3() library support channels @ http://sourceforge.net/projects/getid3/support

the maintainers of the getid3() module for drupal cannot make changed to the getid3() library. They would have to be made by the mainatiners of the getid3() library.