Menu

#176 UTF-8 encoding not returned by Get()

happens every time
open
nobody
5
2006-12-22
2006-12-22
No

If I set the encoding to UTF-8 by
ID3_Field *field;
field->SetEncoding(ID3TE_UTF8);
neither the ascii nor the unicode versions of field->Get() return any text (in the files field_string_unicode.cpp and field_string_ascii.cpp the macros ID3_IS_UNICODE and ID3_IS_ASCII should be used as defined in utils.cpp).

Discussion

  • Anonymous

    Anonymous - 2006-12-22

    Encoding Patch

     
  • Anonymous

    Anonymous - 2006-12-22

    Logged In: YES
    user_id=591685
    Originator: YES

    Sorry, I forgot to mention that I use id3lib 3.8.3 (on a Gentoo system).
    But the good news is: I made an patch (see attachment) that resolves the issue (I hope no other problems are created).
    File Added: unicode.diff

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.