gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

chinese garbled sms with --getsms locale utf8chinese


From: Belbe Gaet
Subject: chinese garbled sms with --getsms locale utf8chinese
Date: Fri, 27 Mar 2009 12:24:34 +0800

Hi all, I'm trying from already 2 days to solve this problem... I guess there is certainly a stupid solution, but i cannot find anything on search engines to help me...
 
My projects need to receive chinese SMS and to save them in mysql, I already compiled gnokii 0.6.27, with dku2libusb module. Everything is ok including smsd except that i receive garbled sms content for all sms written in Chinese.
 
I suppose it could come from my locale, but I tried already to set it in Chinese (see below) and it is still the same problem.
I also managed to send sms in chinese, but still no way to read them correctly
 
Do you knwo if I did something wrong? should i apply any patch?
 
Thanks a lot for your help!!
 
 
gnokii --identify

Received message type 1b
Received revision V 06.01
model length: 6
Received model RM-237
IMEI         : ****************
Manufacturer : Nokia
Found model "RM-237"
Model        : 3110c
Product name : RM-237
Revision     : V 06.01
Serial device: closing device
 
I have set the locale as follows:
 
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8
Here is the result of a --getsms command
 
Using GetSMS for Series40 3rd Ed
Trying to retrieve filelist of C:\predefmessages\1\*.* from cache
Getting key C:\predefmessages\1\*.* from map 0xe540710.
Getting key C:\predefmessages\1\*.* from map 0xe540710.
16 out of 16 are SMS
Getting #16 out of 16 messages
Getting SMS #16 (path: C:\predefmessages\1\, file: 0000062236FD8592000020100050000000000200000000000000000)
Message sent: 0x6d / 0x009f
00 01 00 68 00 96 00 43 00 3a 00 5c 00 70 00 72 |    h   C : \ p r
00 65 00 64 00 65 00 66 00 6d 00 65 00 73 00 73 |  e d e f m e s s
00 61 00 67 00 65 00 73 00 5c 00 31 00 5c 00 30 |  a g e s \ 1 \ 0
00 30 00 30 00 30 00 30 00 36 00 32 00 32 00 33 |  0 0 0 0 6 2 2 3
00 36 00 46 00 44 00 38 00 35 00 39 00 32 00 30 |  6 F D 8 5 9 2 0
00 30 00 30 00 30 00 32 00 30 00 31 00 30 00 30 |  0 0 0 2 0 1 0 0
00 30 00 35 00 30 00 30 00 30 00 30 00 30 00 30 |  0 5 0 0 0 0 0 0
00 30 00 30 00 30 00 30 00 32 00 30 00 30 00 30 |  0 0 0 0 2 0 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 |  0 0 0 0 0 0 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 00 00    |  0 0 0 0 0 0
Message received: 0x6d / 0x0090
01 3e 00 69 00 00 00 00 81 80 00 00 01 ac 07 d9 |  > i
03 1b 09 1c 28 00 00 00 00 02 00 00 00 20 00 38 |     (          8
00 30 00 30 00 30 00 30 00 30 00 36 00 32 00 32 |  0 0 0 0 0 6 2 2
00 33 00 36 00 46 00 44 00 38 00 35 00 39 00 32 |  3 6 F D 8 5 9 2
00 30 00 30 00 30 00 30 00 32 00 30 00 31 00 30 |  0 0 0 0 2 0 1 0
00 30 00 30 00 35 00 30 00 30 00 30 00 30 00 30 |  0 0 5 0 0 0 0 0
00 30 00 30 00 30 00 30 00 30 00 32 00 30 00 30 |  0 0 0 0 0 2 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 |  0 0 0 0 0 0 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 00 |  0 0 0 0 0 0 0
Received message type 6d
   Filesize: 0
Filename: C:\predefmessages\1\0000062236FD8592000020100050000000000200000000000000000
   Status bytes: 81 80 20
   Filesize: 428
   Date: 2009.03.27
   Time: 09:28:40
Message sent: 0x6d / 0x00a2
00 01 00 72 00 00 00 96 00 43 00 3a 00 5c 00 70 |    r     C : \ p
00 72 00 65 00 64 00 65 00 66 00 6d 00 65 00 73 |  r e d e f m e s
00 73 00 61 00 67 00 65 00 73 00 5c 00 31 00 5c |  s a g e s \ 1 \
00 30 00 30 00 30 00 30 00 30 00 36 00 32 00 32 |  0 0 0 0 0 6 2 2
00 33 00 36 00 46 00 44 00 38 00 35 00 39 00 32 |  3 6 F D 8 5 9 2
00 30 00 30 00 30 00 30 00 32 00 30 00 31 00 30 |  0 0 0 0 2 0 1 0
00 30 00 30 00 35 00 30 00 30 00 30 00 30 00 30 |  0 0 5 0 0 0 0 0
00 30 00 30 00 30 00 30 00 30 00 32 00 30 00 30 |  0 0 0 0 0 2 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 30 |  0 0 0 0 0 0 0 0
00 30 00 30 00 30 00 30 00 30 00 30 00 30 00 00 |  0 0 0 0 0 0 0
00 00                                           |
Message received: 0x6d / 0x000a
01 3e 00 73 00 00 00 00 2f 09                   |  > s    /
Received message type 6d
Message sent: 0x6d / 0x0016
00 01 00 5e 00 00 00 00 2f 09 00 00 00 00 00 00 |    ^    /
04 00 00 00 01 00                               |
Message received: 0x6d / 0x010a
01 3e 00 5f 00 00 00 00 01 00 00 02 00 01 00 00 |  > _
00 50 00 00 01 ac 00 00 00 00 00 00 00 00 00 00 |  P
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 2b 00 38 00 36 00 31 |          + 8 6 1
00 33 00 39 00 36 00 35 00 35 00 32 00 31 00 36 |  3 9 6 5 5 2 1 6
00 36 00 38 00 00 00 00 00 00 00 00 00 00 00 00 |  6 8
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 04 0d 91 68 31 69 |              h1i
55 12 66 f8 00 08 90 30 72 90 72 64 23 3c 4f 60 | U f    0r rd#<O`
4e ec 66 0e 59 29 4f 4f 5b bf 76 84 57 30 65 b9 | N f Y)OO[ v W0e
53 eb 96 ea 58 02 5c 0f 96 62 00 2c 75 35 8b dd | S   X \  b ,u5
66 2f 00 30 00 35 00 36 00 33 00 2d 00 38 00 34 | f/ 0 5 6 3 - 8 4
00 39 00 30 00 37 00 33 00 39                   |  9 0 7 3 9
Received message type 6d
Message sent: 0x6d / 0x0016
00 01 00 5e 00 00 00 00 2f 09 00 00 01 00 00 00 |    ^    /
04 00 00 00 00 ac                               |
Message received: 0x6d / 0x00b6
01 3e 00 5f 00 00 00 00 00 ac 01 00 a9 01 00 01 |  > _
00 08 00 01 00 0e 00 01 00 0b 00 01 00 06 00 04 |
00 00 00 00 09 00 04 00 00 00 00 27 00 01 00 03 |            '
00 3e 4f 60 4e ec 66 0e 59 29 4f 4f 5b bf 76 84 |  >O`N f Y)OO[ v
57 30 65 b9 53 eb 96 ea 58 02 5c 0f 96 62 00 2c | W0e S   X \  b ,
75 35 8b dd 66 2f 00 30 00 35 00 36 00 33 00 2d | u5  f/ 0 5 6 3 -
00 38 00 34 00 39 00 30 00 37 00 33 00 39 00 00 |  8 4 9 0 7 3 9
02 00 0f 2b 38 36 31 33 38 30 30 35 35 39 35 30 |    +861380055950
30 00 04 00 1e 00 2b 00 38 00 36 00 31 00 33 00 | 0     + 8 6 1 3
39 00 36 00 35 00 35 00 32 00 31 00 36 00 36 00 | 9 6 5 5 2 1 6 6
38 00 00 07 00 01 00 05 00 01 00 12 00 04 00 00 | 8
00 00 24 00 01 00                               |   $
Received message type 6d
Progress: 100% completed
Message sent: 0x6d / 0x000a
00 01 00 74 00 00 00 00 2f 09                   |    t    /
Message received: 0x6d / 0x0006
01 3e 00 75 00 00                               |  > u
Received message type 6d
RN: 68
Length: 60
Length: 60
Mobile Terminated message:
        Date: 2009-03-27 09:27:46 +0800
        Remote number (recipient or sender): +8613965521668
        SMS center number:
Default Alphabet
O¡9bnLC,)ß=ZuWæBW¿?K;j:address@hidden/@address@hidden@address@hidden@address@hidden
16. Inbox Message (未知)
Date/time: 27/03/2009 09:27:46 +0800
Sender: +8613965521668 Msg Center:
文本:
O¡9bnLC,)ß=ZuWæBW¿?K;j:address@hidden/@address@hidden@address@hidden@address@hidden
Getting SMS #17...
Using GetSMS for Series40 3rd Ed
Trying to retrieve filelist of C:\predefmessages\1\*.* from cache
Getting key C:\predefmessages\1\*.* from map 0xe540710.
Getting key C:\predefmessages\1\*.* from map 0xe540710.
16 out of 16 are SMS
 

Gaetan Belbeoc’h
光明,

Website cooperation
Meeting One Angel Baby Program
Gift Direct Marketing (Shanghai, China)

Tel 021-6887 6687 – 611
Fax 021-6887 6687 -  601
Mobile 13818722455

reply via email to

[Prev in Thread] Current Thread [Next in Thread]