We help IT Professionals succeed at work.

vb.net read MP3 Metadata which keeps the text character format (example: Dvořák) Need component

Hello All;

I have been using the ID3v2 component, ID3TagLibrary, to read the metadata of MP3 files uploaded to my server for a few years now.
And I just found out it will not keep the text format. Example.
It will take this
Dvořák
And change it to
DvoYk

I need a component that will NOT mess up the formatting of the text.
Any and all ideas will be greatly welcomed.

Thank you.
Wayne
Comment
Watch Question

Bill PrewTest your restores, not your backups...
Expert of the Year 2019
Top Expert 2016

Commented:
I haven't used any of these, but you might check out the links below.  The first pulls together links to a number of components for accessing MP3 tags.  The other two are a couple of component libraries that you might want to take a look at to see if they might work.



»bp
ste5anSenior Developer

Commented:
ID3 tags are either saved as ANSI or Unicode. Seems that your tags are ANSI. Thus you need to know the code page to translate that value correctly.
Wayne BarronAuthor, Web Developer
Top Expert 2009

Author

Commented:

Hello, ste5an.
What exactly do you mean by, I need to know the code page to translate the value correctly?

Thank, Bill.
The links I have been all over the last few years.
I will see if any of them have updated since.

ste5anSenior Developer

Commented:
ANSI encodings require that you know to which charset you want to translate the binary representation. Cause in ANSI, the same binary value can be a different character in different charsets.

The rest depends on your actual code and the used library.
Wayne BarronAuthor, Web Developer
Top Expert 2009

Author

Commented:

ste5an , Would you perhaps have an example of using the example name I provided, in translating it
( Dvořák )

Author, Web Developer
Top Expert 2009
Commented:

I found one of my OLD examples of using the TagLib-sharp.
And I will be damned, it works.
So. using the Taglib is what I will be doing now.