New line character for SMS message? | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through August 08, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
I have a simple Java program that sends an SMS message to my ATT phone. The problem is that I can't seem to generate new lines in the message. I've used "/n", "/r", /r/n", nothing seems to work. Is there a special character to use? | |||
Ravikanth Bollapragada New member Username: Ravikanth_b99 Post Number: 12 Registered: 03-2004 |
Hi, Please check "Section 6.2.1" of "Alphabets and language-specific information (GSM 03.38 version 7.2.0 Release 1998)" document for "Default alphabet" table used for SMS. You have to use special encoding of characters using SMS-SUBMIT PDU, mentioned in "Section 9.2.2.2" of "GSM 03.40 Version 5.3.0 July 1996" document. Also check AT commands reference of your mobile phone, to know how to attach the above SMS-SUBMIT PDU, when sending SMS. Regards, Ravikanth Bollapragada http://www.bollapragada.com/ravikanth.htm Email: ravikanth_b99@yahoo.com | |||
Anonymous |
Where do I find these specifications? Are they online documents? Thanks | |||
Ravikanth Bollapragada New member Username: Ravikanth_b99 Post Number: 13 Registered: 03-2004 |
Hi, Please check the following website http://pda.etsi.org/pda/queryform.asp and search by the standards "GSM 03.38" and "GSM 03.40" for the specifications mentioned. Regards, Ravikanth Bollapragada http://www.bollapragada.com/ravikanth.htm Email: ravikanth_b99@yahoo.com | |||
Anonymous |
hi...could u plz tell me how to insert a new line while smsing? | |||
Anonymous |
hi...could u plz tell me how to insert a new line while writing smses on my mobile phone? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2487 Registered: 10-2002 |
Sorry, but that procedure is going to vary from phone to phone. If sending a message programmatically through an API, you would include the standard CR (carriage return) and LF (line feed) characters, inserting them into the text of the message. But if you're doing it from the phone, then how you do this, and if you can do this, is controlled by the SMS client software of that phone. And every phone is different. Some phones have an options menu that allows you to insert a symbol into the message ... and one fo the symbol options looks like the symbol that is usually associated with the "enter" key on a PC keyboard. | |||
Anonymous |
well thanks 4 ur help so far...but i use a nokia 3315 phone and as far as i know it doesnt have any special symbol for new line caracter,i may b wrong though...kindly help | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 2542 Registered: 10-2002 |
I don't have a Nokia 3315, but on another Nokia phone, I hit the options button while editing a message. One of the options on the menu was "Insert Symbol". One of the symbols was a symbol that looks like the PC's enter key (e.g., <-|) ... Unfortunately, if your phone doesn't have such a menu option, you may not be able to insert this character into a message. | |||
Anonymous |
Hello, I am having same problem. Java program creates string with new lines in it and sends this as a SMS. ( I tried \n \r ). When I print the string in log it shows new lines but when SMS is received new lines are lost. Any ideas ? Thanks. |