Click here to Skip to main content
15,902,777 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi i have already send sms using english , but i am facing problem send text as hindi font.

it giving output in question mark

wrong output come in sms : ??????????sms????

it should say in sms :
अपना जीवन प्रमाण पत्र सुनिश्चित करे



i have try following
<pre> string msg = "अपना जीवन प्रमाण पत्र सुनिश्चित करे";

                        string req = "http://smstomeatpriority=" + msg + "&mnumber=" + dest + "&signature=ntw";
                        //HttpWebRequest request = (HttpWebRequest)WebRequest.Create(req);
                        //response = (HttpWebResponse)request.GetResponse();

                        //String ver = response.ProtocolVersion.ToString();

                        //reader = new StreamReader(response.GetResponseStream());

                        WebClient Wc = new WebClient();
                        var response = Wc.DownloadString(req);


What I have tried:

C#
<pre> string msg = "अपना जीवन प्रमाण पत्र सुनिश्चित करे";

                        string req = "http://smstomeatpriority=" + msg + "&mnumber=" + dest + "&signature=ntw";
                        //HttpWebRequest request = (HttpWebRequest)WebRequest.Create(req);
                        //response = (HttpWebResponse)request.GetResponse();

                        //String ver = response.ProtocolVersion.ToString();

                        //reader = new StreamReader(response.GetResponseStream());

                        WebClient Wc = new WebClient();
                        var response = Wc.DownloadString(req);
Posted
Updated 9-Oct-18 2:18am

1 solution

Google is your friend: Be nice and visit him often. He can answer questions a lot more quickly than posting them here...

If you don't know how to do something, start with Google: send sms in hindi langauge - Google Search[^]
A quick search using your question as the search term gave 131 Million hits!

In future, please try to do at least basic research yourself, and not waste your time or ours.
 
Share this answer
 
Comments
balongi 9-Oct-18 6:47am    
this not help me ! if you have better opinion then i will appreciate

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900