New Line in the SMS URL

New Line in the SMS URL SearchSearch
Author Message
Mexcano
New member
Username: Mexcano

Post Number: 25
Registered: 02-2009
Posted on Monday, February 08, 2010 - 08:31 pm:   

Hello
I'm using the now SMS URL:" http://1.1.1.60:80/?PhoneNumber=%2B211111&Text=text&charset=iso-8859-6 "
which led to SMS come in this format "text text text text text text text text text text text "
while i need it to be like this format
"text
text
text
text
text"
is there any special character to add the new line function.in the URL of the SMS
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1769
Registered: 08-2008
Posted on Monday, February 08, 2010 - 09:19 pm:   

Hi,

I believe that you can simply URL escape those characters %0D%0A ... note that for maximum compatibility with different devices, the new line function is two characters ... carriage return and line feed.

If that doesn't work, use \r\n

--
Des
NowSMS Support
Mexcano
New member
Username: Mexcano

Post Number: 26
Registered: 02-2009
Posted on Monday, February 08, 2010 - 10:46 pm:   

Thank you very much for your support
if you can gave me an example on how to use both of them on the URL I'll be thankful for you
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1770
Registered: 08-2008
Posted on Tuesday, February 09, 2010 - 02:03 am:   

http://1.1.1.60/?PhoneNumber=%2B211111&Text=text%0D%0Atext%0D%0Atext%0D%0Atext&c harset=iso-8859-6

http://1.1.1.60/?PhoneNumber=%2B211111&Text=text\r\ntext\r\ntext\r\ntext&charset =iso-8859-6
Mexcano
New member
Username: Mexcano

Post Number: 27
Registered: 02-2009
Posted on Tuesday, February 09, 2010 - 06:08 pm:   

thanks a lot for your support
and this great application