libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Possibly planning libcdio and vcdimager releases


From: Burkhard Plaum
Subject: Re: [Libcdio-devel] Possibly planning libcdio and vcdimager releases
Date: Wed, 29 Jun 2005 16:52:05 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.7.8-1.3.1

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.
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).

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.

--
_____________________________
Dr.-Ing. Burkhard Plaum
Institut fuer Plasmaforschung
Pfaffenwaldring 31
70569 Stuttgart
Tel.: +49 711 685-2187
Fax.:            -3102




reply via email to

[Prev in Thread] Current Thread [Next in Thread]