![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Writing XML in UCS-2 encoding >Thread Next - Re: Writing XML in UCS-2 encoding Re: Writing XML in UCS-2 encodingTo: NULL Date: 7/3/2006 1:28:00 PM <satv73@g...> wrote in message news:1151928970.989320.207710@m...... > Hi all, > I am a newbie in this topic. Can anybody tell me how can I write an > xml with UCS-2 encoding? [or any pointer to sample C/C++ code would be > great]. > > Thanks > Sathish > If your using the MSXML DOM then use the xml declare:- <?xml version="1.0" encoding="UTF-16" ?> When you save the DOM to a file it will be encoded as UTF-16 (ok it's not UCS-2 but I'm guessing its what you are after). | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
