Results 1 to 3 of 3
  1. #1
    Michael Schlottmann
    Guest
    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




  2. #2
    John Henderson
    Guest

    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



  3. #3
    John Henderson
    Guest

    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