ServerXMLHTTP and Double-byte Encoding

Jen (archive)

Usenet Archive
Joined
Jul 18, 2001
Messages
38
Reaction score
0
Hello,

I am trying to use ServerXMLHTTP to post data containing Japanese characters, but the data posts as question marks, boxes or just random ascii characters.

Here is the code I am using:

set xmlHTTPObj = Server.CreateObject("Msxml2.ServerXMLHTTP") xmlHTTPObj.Open "POST", "http://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8", False xmlHTTPObj.setRequestHeader "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8" xmlHTTPObj.Send strQuery

Response.write xmlHTTPObj.responseText
set xmlHTTPObj = nothing

Is there something I'm missing in there? Also, I don't know if this makes any difference, but we do not have the Japanese language pack installed on our web server.

Any help anyone can provide would be greatly appreciated!

Thanks!
 

awormus

Usenet Archive
Joined
Dec 21, 2005
Messages
1
Reaction score
0
Were you able to find an answer to this? I'm having the same issue.
Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,051
Messages
3,104,251
Members
248,135
Latest member
tobystanx

Latest Threads

Top