Summary: | Sending Messages to GAIM users contain corrupt encoding | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Mario Lipinski <kde-bugs> |
Component: | ICQ and AIM Plugins | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andy, m.wieserner |
Priority: | NOR | ||
Version: | 0.9.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mario Lipinski
2004-09-09 22:31:49 UTC
CVS commit by boiko: CCMAIL: 89200-done@bugs.kde.org Backporting release 1.9 (outgoing message's encoding fix) M +5 -1 oscar_fam04.cpp 1.8.2.1 --- kdenetwork/kopete/protocols/oscar/oscarsocket/oscar_fam04.cpp #1.8:1.8.2.1 @@ -962,5 +962,9 @@ void OscarSocket::sendIM(const QString & { //kdDebug(14150) << k_funcinfo << "Going to encode as US-ASCII" << endl; - charset=0x0000; // send US-ASCII + // We are forcing kopete to send messages using ISO-8859-1 + // It's a hack and should be reimplemented in a better way + charset=0x0003; + codec=QTextCodec::codecForMib(4); + //kdDebug(14150) << k_funcinfo << "Now trying ISO-8859-1" << endl; } else This fix will appear in KDE 3.3.1 *** Bug 89310 has been marked as a duplicate of this bug. *** Please note that this appears to be a gaim bug/problem. People are reporting such problems with senders using licq as well as some version of the official ICQ for Windows client. AFAIU, the messages sent with charset=0x0000 (i.e., charset unknown/locale) get interpreted by gaim as "us-ascii", so it'll bark. As a workaround, add a non-locale character to your message (like € on Latin 1, or ŋ, ħ, etc.) so Kopete sends an UTF-8 message, which will be properly decoded. this is an issue concerning kopete cause it sended messages containing latin1 chars as us-ascii which gaim handels likely correct. but there will also be changes to gaim handling this more tolerant. after all these are quite dirty hacks so a proper charset negotiation shall be implemented. maybe reopen this one? |