|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to specify a Processing Instruction? (better: how tocontrolencod
> From: Julian Reschke <julian.reschke@g...> > To: ComCity <mikeb@c...>; <xml-dev@l...> > Sent: Wednesday, August 29, 2001 3:04 PM > Subject: RE: How to specify a Processing Instruction? (better: how to > controlencoding on saving) > > > .. > > > "The LoadXML method always takes a Unicode BSTR that is encoded in UCS-2 > or > > UTF-16 only. If you pass in anything other than a valid Unicode BSTR to > > LoadXML, it will fail to load." > > Well, that can't be. LoadXML is used in numerous other places in > the code, > that don't fail. And, in the code I'm looking at, LoadXML just reads in > plain old xml in plain old ASCII non Unicode BSTR and it does not > fail. For > instance, this piece of code runs fine and has no problem. "Plain old ASCII", passed in a COM string, *is* encoded in UTF-16.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








