Re: [Evolution-hackers] XML APIs in evolution

2007-05-31 Thread Matthew Barnes
On Wed, 2007-05-30 at 17:55 +0300, Ross Burton wrote: The need for a cast is part of the (IMHO wrong) design of libxml2, the policy is that the libxml2 API requires UTF-8 strings, so they typedef xmlChar to unsigned char*. Application writers are then meant to run all strings through UTF-8

Re: [Evolution-hackers] XML APIs in evolution

2007-05-30 Thread Ross Burton
On Wed, 2007-05-30 at 16:42 +0200, Gilles Dartiguelongue wrote: The question is, what shall we do now ? The need for a cast is part of the (IMHO wrong) design of libxml2, the policy is that the libxml2 API requires UTF-8 strings, so they typedef xmlChar to unsigned char*. Application writers