Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Detecting used charset (encoding) in tag (Read 2725 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Detecting used charset (encoding) in tag

How can I find out which character set was set for ID3v2 frame?? I.e. detect encoding descripiton byte, which can be in case of ID3v2.4 ISO-8859-1, UTF-16, UTF-16BE or UTF-8.

I couldn't find it neither in "Selection Properties" nor as a "variable" in foobar tagz (titleformating) and I'd really welcome that information. Thanks.


Detecting used charset (encoding) in tag

Reply #2
Great app thanks 
Still, I'd prefer to see this information in foobar
nevertheless not necessarily if I find out how it writes tags.

Is there any document describing how foobar2000 basic components select encoding charset when writing/modifying the tag?

(E.g.
MP3 is without tag -> text entered uses only characters included in ISO-8859-1 -> foobar writes ISO?
MP3 is without tag -> text entered uses unicode characters -> foobar writes UTF-16 for v2.3 and UTF-8 for v2.4?
MP3 contains ISO-8859-1 tag -> I add unicode characters -> foobar changes charset to UTF-16/8?
MP3 contains UTF-X charset -> I replace all unicode characters with ISO equivalents -> foobar changes charset to ISO?
)



Detecting used charset (encoding) in tag

Reply #3
How can I find out which character set was set for ID3v2 frame??


Is there some reason you would need to know, other than just to know?
elevatorladylevitateme

Detecting used charset (encoding) in tag

Reply #4
Knowledge is wisdom :-)
And I still may have some files/tags with accents encoded in ISO charset. Those I'd like to convert unicode to avoid problems.
Vice versa it's not needed that much, I decided to use v2.4, I suppose all SW/HW with support for v2.4 has support also for unicode. But if I was tagging v2.3 again, I'd like opportunity to check if tags without accents aren't unnecessarily stored as unicode. As id3v2.3 ISO is after id3v1 most compatible.

Simply told - to check for possible problems with files tagged by other software other than foobar.

Detecting used charset (encoding) in tag

Reply #5
Anything outside of ISO-8859-1 will be stored using the preferred Unicode format of the selected tag type. Even if you could detect field encoding formats, you would still have to weed out all the tags which happen to fit inside the ISO-8859-1 code page.

 

Detecting used charset (encoding) in tag

Reply #6
Ok, I can live without it. Utility marc2003 posted here is excellent assistance. Thanks for your help guys.