[xml] HOW TO Set-up charset encoding...

I have develop a C process that process spool text file and build xml output file using xml-lib C-binding.
Input files can be in two kind of format:
-cp850 (= ISO-8859)
To write xml file I use in my program:
and I call it in this way:
xmlSaveFormatFileEnc(filename, doc, NULL, 1);
and then xml-lib assume that econding is utf8.
Indeed, I would like to specify "cp850" ecnording charset format or another one too.
Witch C #define I could use?
Anyone can give me an example?
Thanks in advance,

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