Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - RE: Posting and XML doc encoded using ISO-8859-1 and VB 6.0 Posting and XML doc encoded using ISO-8859-1 and VB 6.0To: NULL Date: 5/31/2005 3:42:00 PM I am trying to post and XML doc using ISO-8859-1 encoding. My program is as
follows:
Dim request As String
Dim xmldoc As New MSXML2.DOMDocument40
Dim response As New MSXML2.DOMDocument40
xmldoc.Load ("c:\uss\uss4.0\ups\licrequest.xml")
Dim xmlhttp As New MSXML2.XMLHTTP40
xmlhttp.open "POST", "https://www.ups.com/ups.app/xml/License", False
xmlhttp.setRequestHeader "Content-type", "text/xml;charset=ISO-8859-1;"
xmlhttp.send (xmldoc.xml)
request = xmlhttp.responseText
In the xml document I have coded entries for the acute accent (é). I am
using é The server is responding with an error and their tech support is
stating that my document is sending <c3><a9> instead of <e9>. They have
tested my document at their offices and stated it is properly formatted, but
the visual basic method I am using is filtering the doc improperly.
Any help would be greatly appreciated!
Dave
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
