Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/10/2005, 03:27
Motki
 
Fecha de Ingreso: septiembre-2003
Mensajes: 341
Antigüedad: 21 años, 7 meses
Puntos: 0
problema MSXML2.ServerXMLHTTP.4.0 y acentos

Hola a to2,

estoy utilizando el objeto MSXML2.ServerXMLHTTP.4.0 para el envio de SMS
, es decir comunico mi asp con la url de envio de sms.

me funciona correctamente , pero el problema es que los sms que contienen acentos no llegan correctamente...
alguien conoce algun parametro de este objeto para que acepte los acentos?
dejo el codigo a ver si me ayudan...
me urge bastante...
gracias.
Código:
'This example using the most basic method with no data specified in the send method.
toResolve = 1000
toConnect = 1000
toSend = 1000
toReceive = 1000
Set srvXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
URL= "http://dirurl&msg=Confirmación del mensaje SMS."
'URL= "http://www.website.com/xml/process.a...1&sort_by=name"
srvXmlHttp.setTimeouts toResolve, toConnect, toSend, toReceive ' not needed but a handy feature
srvXmlHttp.open "GET", URL, false
srvXmlHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" '<---- Lo he puesto me continua fallando
srvXmlHttp.send()
if srvXmlHttp.status = 200 Then ' not needed but also a handy feature
result = srvXmlHttp.responseText
response.write(" "&result&" ")
end if
__________________
---Nuestra recompensa se encuentra en el esfuerzo y no en el resultado. Un esfuerzo total es una victoria completa.-- GHANDI