Click here to Skip to main content
15,917,454 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all

My language is persian
i want to send persian text (sms) in my application to mobile
this is done, but when i want send Persian Post
Mobile show this caracters :??????


So I should convert my character to urlencode


If you have access to a function or command guidance please...thanks
Posted
Comments
Sergey Alexandrovich Kryukov 15-Jun-14 19:15pm    
Persian (Perso-Arabic writing system and script) is supported by default in nearly all modern platforms. There are too many ways to screw up things. Who knows what have you don't wrong? More detailed information from you could help. '???' is a sign of using non-Unicode encoding somewhere in the middle.
—SA
Bernhard Hiller 16-Jun-14 2:34am    
When the *content* does not show up correctly, it is not the encoding of the *URL* what went wrong!
Can you rmobile display Persian/Arab characters at all?
ZurdoDev 16-Jun-14 22:40pm    
You mean unicode, not urlencode.
amirpooya 17-Jun-14 2:21am    
yes I just converted strings to urlencode
ZurdoDev 17-Jun-14 7:06am    
urlencode is not a string, it is a function. You can encode a string for the Url but that has nothing to do with Persian showing up as ????

1 solution

Use the Convert.Tourlencode. It may work that may work or not
 
Share this answer
 
Comments
[no name] 16-Jun-14 19:20pm    
Since the Convert class does not have a method named "Tourlencode", how would you expect that to work at all?
amirpooya 18-Jun-14 15:04pm    
Since the Convert class does not have a method named "Tourlencode", how would you expect that to work at all??????????????????

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