×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    8

    Question help,the difference between unicode and ASCII

    AS we know ,if the short message is coded by unicode ,then we can send the messsge which has 140 bytes;while it is coded by ASCII ,the largest length of it is 160 bytes.why ??what is the lost 20 bytes. and what is the fomat of the SMS?

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    93

    Re: help,the difference between unicode and ASCII

    overhead, and codepage data?

    luke

  3. #3
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,553

    Re: help,the difference between unicode and ASCII

    Read this for a basic understanding of what Unicode vs. ASCII is all about:
    http://www.joelonsoftware.com/articles/Unicode.html

    As far as SMS goes, there are 140 bytes (octets) available in a single SMS message. The default SMS alphabet is not really ASCII, but it is a 7-bit characterset, so you can fit 160 "regular" SMS alphabet characters in a single SMS message.

    If you use characters/symbols/glyphs outside the default SMS alphabet, the encoding is switched to Unicode UCS2 encoding which uses two bytes (16 bits), and means that the 140 bytes can hold 70 Unicode/UCS2 characters.

  4. #4
    Registered User
    Join Date
    Nov 2005
    Posts
    8

    Re: help,the difference between unicode and ASCII

    Thanks a lot !

Similar Threads

  1. Unicode or 'regular' ascii text file
    By Jeepy in forum Symbian
    Replies: 1
    Last Post: 2005-06-20, 08:03
  2. Replies: 1
    Last Post: 2003-12-08, 22:42
  3. Problem of reading unicode SMS
    By tim.chen in forum Multimodecards
    Replies: 0
    Last Post: 2003-11-27, 03:28
  4. Unicode to ASCII
    By santoshudipi in forum Symbian User Interface
    Replies: 2
    Last Post: 2003-08-25, 14:46
  5. Replies: 1
    Last Post: 2002-08-28, 08:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×