Re: g_utf8_validate() and NUL characters



Hi,

Am Donnerstag, den 09.10.2008, 00:01 +0000 schrieb Maciej Katafiasz:
> Den Tue, 07 Oct 2008 16:55:29 -0400 skrev Behdad Esfahbod:
> > coda wrote:
> >> Another possibility mentioned was making more use of GString.
> > 
> > Not a huge fan.
> 
> Why's that? GString is a very odd animal, we have it, it works fine and 
> is as good a string implementation and as compatible with char* as 
> possible within C, yet it seems to be used exactly nowhere. What's the 
> reason not to use GStrings if they do just what's needed? Or why do we 
> have them if no-one wants to use them?

Maciej, don't think of GString as the equivalent of eg.
java.lang.String, it's more an equivalent of java.lang.StringBuffer.

Regards,
  Sven



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