Burkhard Plaum writes:
 > > I know in libcdio there were some bugs such as to CD-Text
 > > that it would be nice to get out.
 > 
 > The problem is, that the charset of cdtext is not known externally and
 > that 16 bit formats (utf-16) are not supported.
 > 
 > My favourite way to fix this, would be to convert everything to UTF-8
 > internally.

Can this be done all of the time? 

 > This would mean, that the API remains unchanged, but we need iconv
 > to do the conversion (don't know on which platforms other than linux
 > it exists).

iconv exists on all of the libcdio platforms (and others not supported
by libcdio).

 > If we output the strings as they are and leave conversion to the caller,
 > we must find a way to query the charset. In the case of UTF-16, we must
 > also return the length of the string, because a simple strlen() won't
 > work in this case.

Okay. 

By the way I was referring to that existing unitialized CD-Text bug
that had been fixed; not suggesting that any major work (on my part)
would be done to fix outstanding issues. That said, this is not to let
me stop others from stepping up.


_______________________________________________
Libcdio-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/libcdio-devel

Reply via email to