Openmoko Bug #2029: Class 0 SMS wrongly decoded (no UTF-8?)
Openmoko Public Trac
bugs at docs.openmoko.org
Wed Sep 24 12:52:32 CEST 2008
#2029: Class 0 SMS wrongly decoded (no UTF-8?)
------------------------+---------------------------------------------------
Reporter: vnevoa | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone:
Component: unknown | Version: Om2008.8
Severity: normal | Resolution:
Keywords: | Blockedby:
Reproducible: always | Blocking:
------------------------+---------------------------------------------------
Comment(by erin_yueh):
Replying to [comment:4 vnevoa]:
> Ok, I've added the logread.
> My reproduction of the problem starts at line 566.
> Steps taken:
> 1 - compose and send an SMS message to myself (body has "test");
> 2 - receive the class 0 SMS with the pre-paid account's current sale;
> 3 - receive the normal SMS I wrote to myself (say NO to qtopia's
question).
> Anything else?
from this log:
you receive a SMS and stored it to SIM card index 16.
Sep 23 23:30:22 om-gta02 user.notice root: AtChat : N : "+CMTI: "SM",16"
what is this SMS?
Sep 23 23:30:24 om-gta02 user.notice root: AtChat : F : "+CMGL: 16,0,,24"
621 Sep 23 23:30:24 om-gta02 user.notice root: AtChat : F :
"07915391131213F4040C9153914352823500008090323223154005F4F29C0E02"
07 91 5391131213F4 04 0C 91 539143528235 0000 80903232231540 05 F4F29C0E02
'0000' those numbers means TP-PID and TP-DCS. The special case of bits
7..0 being 0000 0000 indicates the Default Alphabet as in Phase 2.
the message text are encoded by GSM Alphabet, not UCS2.
you can read SMS format by this site:
http://www.dreamfabric.com/sms/
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2029#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the devel
mailing list