下行消息时出现乱码
Closed this issue · 1 comments
GoogleCodeExporter commented
我下行消息时一直出现乱码,收到消息为"屯屯".消息网关基于s
mgp3.0协议的.请帮忙看一下,谢
谢!
00000000 00 00 00 2A 00 00 00 01 00 00 00 00 36 30 30
30 ...*.... ....6000
00000010 30 34 30 00 73 CA E7 FD C7 EB EB 6E 44 E6 C0 BA 040.s淑?请雗D
胬?
00000020 68 92 7C D6 02 06 BD CE CE 30 h抾?.轿 ?
00000000 00 00 00 21 80 00 00 01 00 00 00 00 00 00 00 00 ...!
€... ........
00000010 56 50 4C B7 37 2A D1 2B 3C 65 26 DC 44 F8 D4 52 VPL?*? <e&蹹
R
00000020 30 0
00000000 00 00 00 B8 00 00 00 02 00 01 90 8F 06 00 00 00 ...?... ..
悘....
00000010 00 00 00 00 00 00 00 00 00 30 30 30 30 30 00
00 ........ .00000..
00000020 00 30 30 30 00 00 00 08 00 00 00 00 00 00 00
00 .000.... ........
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ........ ........
00000040 00 00 00 00 00 00 00 00 00 00 31 30 36 35 39
36 ........ ..106596
00000050 30 30 32 32 34 00 00 00 00 00 00 00 00 00 00 00
00224... ........
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 ........ ........
00000070 00 00 00 00 01 31 38 39 30 38 33 39 31 31 32 37 .....189
08391127
00000080 00 00 00 00 00 00 00 00 00 00 04 CE D2 C3 C7 00 ........ ...我
们.
00000090 00 00 00 00 00 00 00 00 10 00 04 64 78 71 66
00 ........ ...dxqf.
000000A0 12 00 15 31 31 32 30 30 30 30 30 30 30 30 30 30 ...11200
00000000
000000B0 30 30 30 30 31 30 33 32 00001032
00000000 00 00 00 1A 80 00 00 02 00 01 90 8F 00 00 00 13 ....€... ..
悘....
00000010 10 27 15 04 38 43 00 00 00 00 .'..8C.. ..
Original issue reported on code.google.com by wwyd...@gmail.com
on 13 Jan 2010 at 2:56
GoogleCodeExporter commented
你的程序msgformat设置错误,导致乱码,跟api本身没关系。
你的内容为gbk编码,msgformat设置成8为ucs-2编码。
Original comment by dowell...@gmail.com
on 13 Jan 2010 at 5:40
- Changed state: Invalid
Attachments: