Line Feed in HTTP

Line Feed in HTTP SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » Line Feed in HTTP « Previous || Next »
Author Message
Anonymous
 
Posted on Saturday, September 03, 2005 - 03:25 pm:   

Hello.

I want to make a SMS with a line feed. Like:
Line 1
Line 2
Line 3

But how I make a line-feed? I do not know how. I use the HTTP interface (http://server:port/paramters)


Thanks,
NiX
powerchip
Unregistered guest
Posted on Saturday, September 03, 2005 - 04:30 pm:   

http://localhost:8800/Send%20Text%20Message.htm?PhoneNumber=%2B4797629863&Text=L ine1%0D%0ALine2&InfoCharCounter=&PID=&DCS=&Submit=Submit
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4877
Registered: 10-2002
Posted on Monday, September 12, 2005 - 08:21 pm:   

Just to add on to powerchip's reply ...

Technically, %0A is a line feed (this is URL escaping of the LF character), but it is a good idea to use %0D%0A as shown in powerchip's example. %0D is a carriage return (CR).

If you only use the LF, some devices will treat this in its traditional role, and move down one line without returning back to the start of the line.

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics