The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

LoadXML()-MSXML doesn't load Special characters.

Hi All,

I am working on Document mgmt. system using VB 6.0 as front End and SQL Server 2000 back end.

We are facing problem when user enters special characters in say document title.

Our client server communication is done throught XML

We save everything in xml and send this to server.

On server we have our dll component that would parse XML and update the database and send the latest XML to Client.

Currently we are having problem with Em-Dash (Alt+0150) and we are expecting more characters like this.

LoadXML() of MSXML doesn't load this characters.

If anybody know how to handle this problem or any workaround then please let me know.

Any help would be greatly appriciated.

Thanks in Advance.
Gaurav Mehta Send private email
Wednesday, November 30, 2005
Looks like you mean U+2013, 0x96 in Windows-1252. May be you are specifying an encoding in your XML file that does not have this character?
Ben Bryant
Friday, December 09, 2005
"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."
MBJ Send private email
Monday, December 12, 2005

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz