Results 1 to 3 of 3
- 04-08-2005, 04:08 PM #1Michael SchlottmannGuest
Hi,
does anyone know what kind of character(s) are used in an SMS - Short
Message for a line break / new line?
Is it a Line Feed (LF) + Carrier Return (CR) or only an LF or only an CR?
I searched for a specification for a SMS but I coulndn't find one.
Hope you can help me.
Cheers,
Michael
› See More: Charakter(s) for Line Break in SMS
- 04-08-2005, 11:01 PM #2John HendersonGuest
Re: Charakter(s) for Line Break in SMS
Michael Schlottmann wrote:
> does anyone know what kind of character(s) are used in an SMS
> - Short Message for a line break / new line?
> Is it a Line Feed (LF) + Carrier Return (CR) or only an LF or
> only an CR?
A <linefeed>, char(10), character alone seems sufficient in
testing I've done. When preparing a new message, Siemens
phones give you the option of formatting the text (moving to
the beginning of the next line) by adding a "line feed" at any
point. Using this adds only one to the character-used count,
so the <carriage return> seems to be redundant.
Both the <linefeed> and <carriage return> characters are defined
in the 7-bit default alphabet (GSM 03.38).
John
- 04-09-2005, 03:12 AM #3John HendersonGuest
Re: Charakter(s) for Line Break in SMS
Earlier, I wrote:
> A <linefeed>, char(10), character alone seems sufficient in
> testing I've done.
Update:
I've just proven the above by sending an SMS in PDU-mode using a
single <linefeed> as the newline character. Not only does it
display on the receiving phone's screen as expected, but a PDU
decode shows that user-data field remains unchanged in the
received SMS.
John
Similar Threads
- Kyocera
- alt.cellular.ericsson
- alt.cellular.motorola
- alt.cellular.ericsson
What is Your Favorite Game Character?
in Games