[Pidgin] #1645: ICQ Encoding Problems

Pidgin trac at pidgin.im
Fri May 23 09:21:43 EDT 2008


#1645: ICQ Encoding Problems
-----------------------+----------------------------------------------------
  Reporter:  I4ko      |       Owner:  elb  
      Type:  defect    |      Status:  new  
  Priority:  critical  |   Milestone:       
 Component:  ICQ       |     Version:  2.0.1
Resolution:            |    Keywords:       
   Pending:  0         |  
-----------------------+----------------------------------------------------
Comment (by beret):

 I must remark that the latter is a bug in QIP 2005, not in Pidgin. Here is
 a packet dump of a similar message from QIP 2005:

 {{{
 0000  00 00 e8 9f 26 ee 00 a0  c5 69 98 99 08 00 45 00   ....&... .i....E.
 0010  00 fd 1f fb 40 00 67 06  5b b3 cd bc 07 e6 c0 a8   .... at .g. [.......
 0020  01 02 14 46 e1 73 9d 1b  88 2d b2 7f b0 19 50 18   ...F.s.. .-....P.
 0030  40 00 cc aa 00 00 2a 02  e1 71 00 cf 00 04 00 07   @.....*. .q......
 0040  00 00 c5 51 68 00 00 00  00 00 00 00 00 00 00 01   ...Qh... ........
 0050  09 32 30 37 32 34 34 30  31 30 00 00 00 06 00 01   .2072440 10......
 0060  00 02 00 50 00 06 00 04  10 01 00 20 00 05 00 04   ...P.... ... ....
 0070  43 55 33 7e 00 1d 00 14  00 08 01 10 e0 86 c9 5c   CU3~.... .......\
 0080  61 36 97 3c de b4 e3 13  c5 cb 3c 57 00 0f 00 04   a6.<.... ..<W....
 0090  00 00 66 cc 00 03 00 04  48 36 5b 51 00 02 00 5a   ..f..... H6[Q...Z
 00a0  05 01 00 02 01 06 01 01  00 50 00 02 00 00 00 70   ........ .P.....p
 00b0  04 48 04 3d 00 6c 00 69  00 9a 00 20 00 9e 00 6c   .H.=.l.i ... ...l
 00c0  00 75 00 9d 00 6f 00 75  04 38 00 6b 04 4d 00 20   .u...o.u .8.k.M.
 00d0  00 6b 04 49 04 41 00 20  04 4a 00 70 04 3c 00 6c   .k.I.A.  .J.p.<.l
 00e0  00 20 04 3f 04 31 00 62  00 65 00 6c 00 73 00 6b   . .?.1.b .e.l.s.k
 00f0  04 39 00 20 04 43 00 64  00 79 00 0b 00 00 00 16   .9. .C.d .y......
 0100  00 04 48 36 c2 1d 00 13  00 01 3a                  ..H6.... ..:
 }}}

 QIP has a hard-coded conversion from CP1251 – you can see UTF-16 code
 points in the Cyrillic range, although the original message contained only
 characters from the range U+0020 through U+017F.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1645#comment:75>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list