Line Feed in HTTP

Line Feed in HTTP SearchSearch
Author Message
Anonymous
 
Posted on Saturday, September 03, 2005 - 05: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 - 06: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 - 10: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