pidgin.2.6.5: b43a854a: *** Plucked rev 1cd91846f484f7d7090d25b0...

datallah at pidgin.im datallah at pidgin.im
Thu Jan 7 19:01:17 EST 2010


-----------------------------------------------------------------
Revision: b43a854a64a45ed46cd39c74101fc51542c091d6
Ancestor: 583c1ae15e7cbb18ba5a65705fff249b5eda32c7
Author: datallah at pidgin.im
Date: 2010-01-07T23:43:26
Branch: im.pidgin.pidgin.2.6.5
URL: http://d.pidgin.im/viewmtn/revision/info/b43a854a64a45ed46cd39c74101fc51542c091d6

Modified files:
        ChangeLog libpurple/protocols/oscar/oscar.c

ChangeLog: 

*** Plucked rev 1cd91846f484f7d7090d25b0e65d851a0dadcb90 (e894e488d2219b69664de488ee1af7f275f8817d):
Improved handling of the 0x00d charset in AIM, which is sent by mobile devices speaking ISO-8859-1. Try UTF-8 first (the encoding sent by iChat in a Direct IM with non-ASCII characters), then fall back to ISO-8859-1. Fixes #a13544, a bug created with the fix for iChat DIM encoding new in libpurple 2.6.4

applied changes from 6f3a1b3c52803e11d4cda1e0537c1270599e8d8e
             through ed0a2a35c7e22519df27c50069c22b03e01c027a

*** Plucked rev e8ba4281669ae86859fd4e29f5d8ea0286af3903 (f05c54b03e6bbfdbff38c01697fbd353a969e05e):
Changelog the AIM/ICQ issue.  Refs #10900.


-------------- next part --------------
============================================================
--- ChangeLog	b51145a1ace5a70c7efdcde84d27f7352c79ef23
+++ ChangeLog	d2abf154d1199ea43cc4c31175427b2aaaac39d0
@@ -5,6 +5,10 @@ version 2.6.5 (??/??/20??):
 	General:
 	* Build-time fixes for Solaris.  (Paul Townsend)
 
+	AIM and ICQ:
+	* Messages from some mobile clients are no longer displayed as
+	  Chinese characters (broken in 2.6.4)
+
 	XMPP:
 	* Do not crash when attempting to register for a new account on Windows.
 
============================================================
--- libpurple/protocols/oscar/oscar.c	527d8aac476b586cb1f72b77660795462d0cd01c
+++ libpurple/protocols/oscar/oscar.c	945f8394b2dddf8973f4ff2f482137c23d5881ce
@@ -457,10 +457,10 @@ purple_plugin_oscar_decode_im_part(Purpl
 		charsetstr1 = "ASCII";
 		charsetstr2 = purple_account_get_string(account, "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING);
 	} else if (charset == 0x000d) {
-		/* iChat sending unicode over a Direct IM connection = Unicode */
-		/* Mobile AIM client on a Nokia 3100 and an LG VX6000 = ISO-8859-1 */
-		charsetstr1 = "UTF-16BE";
-		charsetstr2 = "UTF-8";
+		/* iChat sending unicode over a Direct IM connection = UTF-8 */
+		/* Mobile AIM client on multiple devices (including Blackberry Tour, Nokia 3100, and LG VX6000) = ISO-8859-1 */
+		charsetstr1 = "UTF-8";
+		charsetstr2 = "ISO-8859-1";
 		charsetstr3 = purple_account_get_string(account, "encoding", OSCAR_DEFAULT_CUSTOM_ENCODING);
 	} else {
 		/* Unknown, hope for valid UTF-8... */


More information about the Commits mailing list