Re: [xml] Build DOM tree manually from ASCII file and getting data into xmlChar

On Thu, 2002-08-01 at 10:49, Daniel Veillard wrote:

  French characters (well accented ones for example) are not in ASCII
but probably in ISO Latin 1, use the following function to convert them
before passing the strings to the API:
  isolat1ToUTF8(unsigned char* out, int *outlen,
                const unsigned char* in, int *inlen) {

Why is it "unsigned char* out" and not "xmlChar* out" ?

Or are they actually made the same by some macro ?


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