[Pidgin] #13198: Pidgin on Windows does not authenticate if path to installation contain non-latin characters

Pidgin trac at pidgin.im
Thu Jan 13 06:09:50 EST 2011


#13198: Pidgin on Windows does not authenticate if path to installation contain
non-latin characters
----------------------+-----------------------------------------------------
Reporter:  nex_otaku  |        Type:  defect   
  Status:  new        |   Component:  libpurple
 Version:  2.7.9      |    Keywords:           
----------------------+-----------------------------------------------------
 Pidgin on Windows does not authenticate if path to installation contain
 non-latin characters.

 Steps to reproduce:[[BR]]
 1. Install Pidgin to latin-letter directory, ex. C:\Pidgin[[BR]]
 2. Set up a Jabber account on some server, make sure it works.[[BR]]
 3. Close Pidgin.[[BR]]
 3. Rename C:\Pidgin to non-latin name, ex. C:\Пиджин[[BR]]
 4. Start Pidgin again.

 It will not connect, showing error "Server does not use any supported
 authentication method".

 How to fix:

 in file libpurple\protocols\jabber\jabber.c, find line 3781:[[BR]]

 {{{
 sasl_set_path(SASL_PATH_TYPE_PLUGIN, sasldir);
 }}}

 change it to

 {{{
 sasl_set_path(SASL_PATH_TYPE_PLUGIN,
 g_win32_locale_filename_from_utf8(sasldir));
 }}}

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


More information about the Tracker mailing list