Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unicode with xml
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
01681678
Message ID:
01681680
Views:
51
Hi,

Did you convert string data to utf-8?

MartinaJ

>Sir I am using these codes
>
>
>curl="https://telenorcsms.com.pk:27677/corporate_sms2/api/sendsms.jsp?"
>	session_id=cdata
>	ccellno='923456857063'
>	cuserid='923001509602'
>	cpass='apxamcsamcs@aaxx33d455'
>	cmask='AHCS'
>	clang="English"
>	cunicode="true"
>	cmessage="اسلام علیکم"
>		
>	
>winhttpreq = Createobject("WinHttp.WinHttpRequest.5.1")
>postdata = "session_id=" + cdata;
>	+ "&msisdn=" + cuserid;
>	+ "&password=" + cpass;
>	+ "&text=" + cmessage;
>	+ "&to=" + ccellno;
>	+ "&mask=" +cmask;
>	+ "&encoding=" + 'utf-8';
>       + "&unicode=" + cunicode
>
>	winhttpreq.open("POST",curl,.f.)
>	winhttpreq.setrequestheader("Content-Type", "application/x-www-form-urlencoded")
>	winhttpreq.send(postdata)
>	xmlstr=winhttpreq.responsetext
>
>
>
>The message is delivered in garbage characters like اÙ?Ø´Ù?ا instead of real text اسلام علیکم
>
>How is it possible to send unicode text (URDU or Arabic)
>
>Please
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform