Hi,

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:
-utf8 
-cp850 (= ISO-8859)

To write xml file I use in my program:
xmlSaveFormatFileEnc
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,

Roberto 
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to