[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBus API problems & UTF-8
From:       Ross Burton <ross () burtonini ! com>
Date:       2006-06-12 12:39:59
Message-ID: 1150115999.5982.29.camel () localhost ! localdomain
[Download RAW message or body]

On Mon, 2006-06-12 at 13:47 +0100, 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. 

Don't forget that if you can safely assume that all strings you'll be
dealing with are ASCII, then you don't need to do anything as UTF-8
contains the ASCII character set.

Ross
-- 
Ross Burton                                 mail: ross@burtonini.com
                                          jabber: ross@burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic