DBus API problems & UTF-8

Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Mon Jun 12 05:32:02 PDT 2006


On Mon, 2006-06-12 at 15:47, ext Daniel P. Berrange wrote:
...
> If you're not already using UTF-8 in your C program, then its at most one 
> single method call to convert. Unless your strings are absolutely enourmous
> the performance hit of the conversion shouldn't show up as a large hotspot.
> In any case this is a small price to pay for cross-application interoperability. 

Ok, you all have a good point. However, would you oppose an additional
DBus type for NUL-terminated strings (e.g. DBUS_TYPE_CSTRING)? There is
quite a bunch of existing C code around that could benefit from it.

BR; Kimmo

> 
> Regards,
> Dan.


More information about the dbus mailing list