Windows and Linux, the solution has to be cross platform thanks.
Pete Cordell-5 wrote: > > I might have missed it, but which OS are you using? > > Pete Cordell > Codalogic > For XML C++ data binding visit http://www.codalogic.com/lmx/ > > ----- Original Message ----- > From: "pundog" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Sunday, March 23, 2008 2:50 PM > Subject: Converting a DOMNode to std::string with Default OS codepage > > >> >> Hi, >> i'm looking for a way to convert a DOMNode into a std::string using the >> operating system's default codepage. >> in the DOMWriter class, there is a function called "writeNode" but when i >> use it, i need to pass it an XMLFormatter, which requires me to specify >> the >> encoding i want to use. However, in my personal situation, i don't >> allways >> know which encoding i would like to use at runtime, so i would like to >> use >> the default codepage set in my operating system's configuration. >> >> Is there a way in xerces-c to convert a DOMNode using the operating >> system's >> default codepage? or maybe theres a way to retrieve the default codepage? >> (must be a cross-platform solution) >> >> Thanks. >> -- >> View this message in context: >> http://www.nabble.com/Converting-a-DOMNode-to-std%3A%3Astring-with-Default-OS-codepage-tp16236700p16236700.html >> Sent from the Xerces - C - Users mailing list archive at Nabble.com. >> >> > > > > -- View this message in context: http://www.nabble.com/Converting-a-DOMNode-to-std%3A%3Astring-with-Default-OS-codepage-tp16236700p16249491.html Sent from the Xerces - C - Users mailing list archive at Nabble.com.
