[Pidgin] #3717: GroupName tag in blist.xml in Windows Pidgin is encoded into UTF-8 twice

Pidgin trac at pidgin.im
Fri Oct 26 08:55:37 EDT 2007


#3717: GroupName tag in blist.xml in Windows Pidgin is encoded into UTF-8 twice
---------------------------------------+------------------------------------
 Reporter:  UbuPetr                    |       Type:  defect
   Status:  new                        |   Priority:  minor 
Component:  libpurple                  |    Version:  2.2.2 
 Keywords:  UTF-8 buddylist blist.xml  |    Pending:  0     
---------------------------------------+------------------------------------
 I found bug in Windows Pidgin, in Linux Pidgin blist.xml working well on
 recent openSuSE.

 How to reproduce:
 1) Create group name (containing czech characters  - ěščřžýáíé
 Windows-1250) with buddies on your account using official ICQ Windows
 client.
 2) When you login in with Windows Pidgin, group name containing czech
 characters are messed.
 3) I found that blist.xml <group name='messed_text'> is encoded twice to
 UTF-8 because if you copy messed_text to notepad and safe, then open copy
 and again to notepad and safe. On the third turn you open notepad with
 recopyed messed_text then you see correct text.
 *) If you create group name containing czech characters using Windows
 Pidgin, messed group name appear in official ICQ Windows client.

 How to solve it:
 1) Use only one UTF-8 encode function for group name tag in blist.xml for
 Windows Pidgin.
 2) Fix create groups through Windows Pidgin (may be use UTF-8 encode only
 once again).
 *) Please have a look on it in Linux client too if everything is correct.

 Note:
 This bad behaviour comes from Gaim 1.5 and newer I think.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3717>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list