da_mpg123_store_utf8

Store text data in string, after converting to UTF-8 from indicated encoding A prominent error can be that you provided an unknown encoding value, or this build of libmpg123 lacks support for certain encodings (ID3 or ICY stuff missing). Also, you might want to take a bit of care with preparing the data; for example, strip leading zeroes (I have seen that). \param sb target string \param enc mpg123 text encoding value \param source source buffer with plain unsigned bytes (you might need to cast from signed char) \param source_size number of bytes in the source buffer \return 0 on error, 1 on success (on error, mpg123_free_string is called on sb)

alias da_mpg123_store_utf8 = int function()

Meta