Menu

#4 Special characters not displayed.

open
nobody
Phone (1)
7
2013-01-13
2003-01-27
Anonymous
No

Exported from Bugzilla, issue 4041.

--- Comment added on 10/29/2002 11:03:43 AM ---
Special chaacters, such as Sweedish (Frĺn:), are not displayed when SMS
messages are sent. There is some emails from Bergbom Staffan in mailsupport.

Ämne: RE: Problems using TApdGSMPhone-component

I went into the code and picked up the Message-property from the MessageStore
and could see that the swedish chars were already damaged. That is before they
were even shown. Wouldn't that indicate that somewhere in the code the
ApdGSMPhone gets confused cause these chars are in the 8-bit area
and the result gets strange. Is there any way for you to accept the chars as 8-
bits even if the text mode only supports 7-bits.

I didn't see anywhere in the GSM code where we are converting the chars.
That doesn't mean that there isn't anything in there doing it though (I
usually don't go into that component very much). If we're doing it, it would
be in the ParseAMessage method (around line 725). My first thought on this
was the control that's displaying the message, maybe the font for that control
is substituting the chars?

--- Comment added on 11/1/2002 1:22:13 PM ---
I assume that he's talking about this:

0037.832 Packet EndStr 00000000 [0D][0A]OK[0D][0A]
0037.832 Dispatch WriteCom 00000008 AT+CMGL[0D]
This is were the swedish chars are [99], [8E] and [8F] ***********************
0042.656 Dispatch ReadCom 00000053 [0D][0A]+CMGL:[20]16,"REC[20]UNRE
AD","+46702023882",,"02/10/04,18:
53:42+00",145,11[0D][0A]K[99]TTF
[8E]RSS[8F]S
******************************************************************************
0042.656 Trigger Avail 00000053
0044.198 Dispatch ReadCom 00000008 [0D][0A][0D][0A]OK[0D][0A]

In the 42.656 ReadCom, we're reading the message with [99], [8E] and [8F]. We
should be able to reproduce this by sending a message containing those chars,
then reading it back.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB