PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM18] HTTPGetResult()
[WM18] HTTPGetResult()
Iniciado por guest, 07,nov. 2014 12:06 - 2 respuestas
Publicado el 07,noviembre 2014 - 12:06
Hi,

I m having a problem using HTTPGetResult() it outputs a load of Chinese characters, the problem is i cant use AnsiToUnicode as its a Windows Phone application, is there another way around this.

Thanks

iso
Publicado el 08,noviembre 2014 - 14:20
iso

Looks like WM19 resolved such.
What is it, traditional/simplified?
Is real Unicode or double-byted?

You may write your own function to resolve such or
shoot it to pcsoft support instead.

HTH

Cheers
King
Publicado el 11,noviembre 2014 - 14:03
Hi King,

I ve asked pcsoft for help,

this is the code where im using AnsiToUnicode

gsMycoords = StringBuild(sMylat+ ","+sMylong)
sUrlgglMaps is string


sUrlgglMaps="<a class="ExternalLink" rel="nofollow" target="_blank" href="http://maps.googleapis.com/maps/api/geocode/xml?latlng="+URLEncode">http://maps.googleapis.com/maps/api/geocode/xml&hellip;</a>(gsMycoords)+"&sensor=false"


IF NOT HTTPRequest(sUrlgglMaps) = True THEN
Info("Unable To retrieve Data")
RETURN
ELSE

sCodeRetourHTTP is string = ExtractString(HTTPGetResult(httpHeader),2, " ")
sResultat is string =AnsiToUnicode(HTTPGetResult())
end

thanks

iso