bug? unicode for multiple ARTIST, GENRE in MP3 file


#1

The problem only occur on MP3 file. No problem with FLAC/ALAC file.

I'm putting more GENRE to my songs, and find that I can NOT put more ARTIST or GENRE tag, if the name contain unicode at the end of the string.

For example, in GENRE this work:

genre1\genre2\genre3

But NOT this:

genre1_unicode\genre2\genre3

once saved, mp3tag only show:

genre1_unicode

genre2\genre3 are missing.

in this case:

genre1\genre2_unicode\genre3

will saved as:

genre1\genre2_unicode

and genre3 is missing

The problem occur only there is a unicode character at the end of the string.

This works:

genre_unicode_1\genre_unicode_2\genre_unicode_3

The problem occur on the ARTIST tag too (and I guess any more tag in multiple entry). And only on MP3 file.

Is this a bug? :slight_smile:


#2

What unicode character for example?

GenreŠ\Pip\Pop
Pip\GenreŠ\Pop
Pip\Pop\GenreŠ
ƒŠØ\ƒŠØ\ƒŠØ
٠١٢٣٤٥٦٧٨٩\0123456789\०१२३४५६७८९

... works ... always created three GENRE tag-fields.

DD.20120612.0640.CEST


#3

Thanks for respond. For example I couldn't put these to GENRE for my MP3 songs:

AKB48シングル\女性\日本流行音樂

The above only return:

AKB48シングル

If I put this:

シングルAKB48\女性\日本流行音樂

then the result is:

シングルAKB48\女性

There is no such problem with FLAC or ALAC songs.


#4

I just tried your example:

٠١٢٣٤٥٦٧٨٩\0123456789\०१२३४५६७८९

On a MP3 file, the result is:

٠١٢٣٤٥٦٧٨٩\0123456789

But on a FLAC file, it can save all 3 GENRE.

I already tried Select All Songs->Tag Copy->Remove Tag->Tag Paste, with same result...

Is it possible the problem is due to my song file?


#5

Using the example string from above there was no problem to create three GENRE tag-fields.

Well, if the tag-type was changed from ID3v2.4 to ID3v2.3 (set options, Ctrl+X, Ctrl+V) only one GENRE tag-field with the first value from above has survived (AKB48シングル).

On ID3v2.3 it is not possible to create three GENRE tag-fields from these multi values ...
AKB48シングル\女性\日本流行音樂
It will result only to one GENRE tag-field with the value ...
AKB48シングル

Using ...
٠١٢٣٤٥٦٧٨٩\0123456789\०१२३४५६७८९
it will create two GENRE tag-fields
٠١٢٣٤٥٦٧٨٩\0123456789
That seems to be a quirk or restriction of the tag-type ID3v2.3
What does the ID3v2.3 standard framework say about multi-value tag-field?

DD.20120612.0720.CEST



#6

I already tried Tag Copy->Remove Tag->Tag Paste. It didn't help.

Since you mentioned ID3v2.3/v2.4 issue, I go to Tools->Options->Tags->Mpeg, under "Write" section, "ID3v1" and "ID3v2" are checked, under "ID3v2" section, "ID3v2.3 UTF-16" is selected. I changed that to "ID3v2.4 UTF-8".

Now I can save all 3 GENRE on MP3 songs.

I don't remember changing those ID3 settings so I think the default is "ID3v2.3 UTF-16". On FLAC/ALAC songs, I can put 3 or more GENRE without any issue. But MP3 doesn't work.

Now 3 or more GENRE works on MP3 in setting "ID3v2.4 UTF-8".

Should I keep the setting in "ID3v2.4 UTF-8" for all further operation? Should I use "ID3v2.3 UTF-16" for FLAC/ALAC and change to "ID3v2.4 UTF-8" for MP3?

Thanks in advance!


#7

Extending the ID3v2.3 standard, Mp3tag offers multi-value support, which is somewhat limited, as you have pointed out.
Pruning the ID3v2.3 standard, for the tag-field "TCON", Mp3tag seems not support "refinement" or "multi references", but the new content types "(RX)" and "(CR)" are supported.

If you need full support for multi genre tag-fields, then use ID3v2.4 UTF-8 (as a bet on the future).
If you want to be compatible in the current mp3 media world, then use ID3v2.3 UTF-16.

FLAC/ALAC media will be tagged with the related tag-type VORBIS COMMENT.

DD.20120612.0918.CEST