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

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 : )_~

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

Replies are listed 'Best First'.
Re^7: Malformed UTF-8 character, TagLib
by ikegami (Patriarch) on Nov 12, 2009 at 15:44 UTC

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

    You previously asking about files giving you a "malformed" error. Now addressing this new issue:

    Use Devel::Peek's Dump on something that doesn't give "malformed" but doesn't display correctly. Show us the output.

      Finally something useful!

      You are absolutely correct! And I very much deserve the useless drivel I have received for not knowing that it was two different issues in the first place... That I should have known!

      Devel::Peek ... Output ... NOT!
      # perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Devel::Peek # make cp Peek.pm blib/lib/Devel/Peek.pm /usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /us +r/local/lib/perl5/5.8.8/ExtUtils/typemap Peek.xs > Peek.xsc && mv Pe +ek.xsc Peek.c Please specify prototyping behavior for Peek.xs (see perlxs manual) cc -c -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSET +MASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-a +fter-statement -I/usr/local/include -O2 -fno-strict-aliasing -pipe + -DVERSION=\"0.96\" -DXS_VERSION=\"0.96\" -DPIC -fPIC "-I/usr/local/ +lib/perl5/5.8.8/mach/CORE" Peek.c Peek.xs: In function 'my_sv_peek': Peek.xs:162: error: 'sv_undef' undeclared (first use in this function) Peek.xs:162: error: (Each undeclared identifier is reported only once Peek.xs:162: error: for each function it appears in.) Peek.xs:162: error: 'sv_no' undeclared (first use in this function) Peek.xs:162: error: 'sv_yes' undeclared (first use in this function) Peek.xs:292: error: 'na' undeclared (first use in this function) Peek.xs: In function 'DumpOP': Peek.xs:320: error: 'op_name' undeclared (first use in this function) Peek.xs:327: error: 'op_desc' undeclared (first use in this function) Peek.xs:333: error: 'GVOP' undeclared (first use in this function) Peek.xs:333: error: expected expression before ')' token Peek.xs:335: error: expected expression before ')' token Peek.xs:336: error: 'na' undeclared (first use in this function) Peek.xs:469: error: 'REGEXP' has no member named 'check_substr' Peek.xs:472: error: 'REGEXP' has no member named 'check_substr' Peek.xs:504: error: 'CONDOP' undeclared (first use in this function) Peek.xs:504: error: expected expression before ')' token Peek.xs:505: error: expected expression before ')' token Peek.xs: In function 'DumpLevel': Peek.xs:1000: error: 'na' undeclared (first use in this function) Peek.xs: In function 'DeadCode': Peek.xs:1119: error: 'sv_arenaroot' undeclared (first use in this func +tion) Peek.xs:1152: error: 'sv_undef' undeclared (first use in this function +) *** Error code 1 Stop in /usr/home/gary/cpan/Devel-Peek-0.96.

      fh : )_~