K
kevcorrelation
Ok here's one for the experts.
We have a very complex doc mgmt system where we utilize Word 2003 XML
features to allow our end users to save a word doc back into our Sql 2k
database.
The basic process is:
1) User downloads the doc through our system
2) User makes changes and clicks a custom button which runs a macro
3) This macro connects to a Web service and sends the XML of the
current document to the server
4) Web service receives the XML and updates the XML in the database
Right up to the point where the Stored procedure updates the XML
everything is fine. If I write the XML to the file system the document
looks exactly as expected.
When I pull the XML from the database and stream it back down through
the browser, somehow all the bullets in the document get converted into
question marks. Very bizarre.
I can't confirm exactly where this occurs. I can't verify if the
database has the correct XML because bullets are stored as WordML tags,
so just looking at the XML is almost useless. All my tests in code may
be inaccurate because I don't know the .NET plumbing that takes place
to actually extract the field from the database and place it into my
VB.NET variable, there could be unicode conversions taking place I'm
not aware of in the ADO.NET plumbing.
Any ideas?
We have a very complex doc mgmt system where we utilize Word 2003 XML
features to allow our end users to save a word doc back into our Sql 2k
database.
The basic process is:
1) User downloads the doc through our system
2) User makes changes and clicks a custom button which runs a macro
3) This macro connects to a Web service and sends the XML of the
current document to the server
4) Web service receives the XML and updates the XML in the database
Right up to the point where the Stored procedure updates the XML
everything is fine. If I write the XML to the file system the document
looks exactly as expected.
When I pull the XML from the database and stream it back down through
the browser, somehow all the bullets in the document get converted into
question marks. Very bizarre.
I can't confirm exactly where this occurs. I can't verify if the
database has the correct XML because bullets are stored as WordML tags,
so just looking at the XML is almost useless. All my tests in code may
be inaccurate because I don't know the .NET plumbing that takes place
to actually extract the field from the database and place it into my
VB.NET variable, there could be unicode conversions taking place I'm
not aware of in the ADO.NET plumbing.
Any ideas?