in reply to Re^2: Malformed UTF-8 character, TagLib
in thread Malformed UTF-8 character, TagLib

however it still does not properly display the Artists or Album names

We've already covered that. The library expects them to be UTF-8 encoded and they're not.

  • Comment on Re^3: Malformed UTF-8 character, TagLib

Replies are listed 'Best First'.
Re^4: Malformed UTF-8 character, TagLib
by Anonymous Monk on Nov 12, 2009 at 06:56 UTC

    Covered?? 1 sentence of common knowledge, 1 sentence explaining NO MORE than the error message itself, If you consider that 'covered', then I guess we have a difference of opinion of the meaning of covered!

    However, I do understand, I'll start another thread (node) and loose the 'Malformed UTF-8' part that can't seem to get looked beyond!
    It is the topic after all!

    I guess that's my fault for not separating what now appears to be TWO different issues.

    They do not all have the Malformed UTF error, however, all of the ones with high ascii characters do not display correctly!

    All the tags are written using the same application, I highly doubt that it gets it right sometimes and not others... (However, it is M$lop WMP, So it could I guess, very unlikely though!)

    On the files with Malformed UTF-8 errors, I have stripped the tags, Then added new tags with same results... I have also tried using several of the most popular taggers...
    All with exactly the same results!

    Thus, I am confident that it's not a malformed utf causing the characters to be incorrectly displayed!
    There is also the fact that every Audio player and or tagger I've tried sees/prints/displays them correctly!
    Even ones that use the same TagLib library. (Juk for example)

    -Enjoy
    fh : )_~

      Covered?? 1 sentence of common knowledge, 1 sentence explaining NO MORE than the error message itself,

      I thought what follows was obvious, but here you go: Don't give something other than UTF-8 to a library that expects UTF-8, or use a different library.

      They do not all have the Malformed UTF error, however, all of the ones with high ascii characters do not display correctly!

      Problems in output are meaningless if there's a problem in the input. You need to fix the inability of the module to handle the tags first.

      All the tags are written using the same application, I highly doubt that it gets it right sometimes and not others...

      Some? You just said *all* non-ASCII character don't work. Which one is it?

        Welp, thought I was pretty clear, Guess not!

        I thought what follows was obvious, but here you go: Don't give something other than UTF-8 to a library that expects UTF-8, or use a different library.

        More commonsense, common knowledge!
        BTW, The library does not expect UTF-8, It's capable of the 4 encoding standards for ID3 tags!

        Problems in output are meaningless if there's a problem in the input. You need to fix the inability of the module to handle the tags first.

        No input problem, Works fine in C/C++, not in Perl!

        Some? You just said *all* non-ASCII character don't work. Which one is it?

        ALL artists/album names with high ASCII characters (Ö,é) do not display correctly!!!

        Only a couple of those artists/albums with high ASCII characters have the Malformed UTF-8 error!

        Is that clearer ...

        fh : )_~