[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/oscar/oscarsocket
From:       Gustavo P. Boiko <boiko () conectiva ! com ! br>
Date:       2004-08-23 17:54:40
Message-ID: 20040823175440.2EA2C23DB () office ! kde ! org
[Download RAW message or body]

CVS commit by boiko: 

Kopete was encoding OSCAR messages wrongly. Patch from Will Stephenson (Bille)
CCMAIL: kopete-devel@kde.org


  M +5 -1      oscar_fam04.cpp   1.9


--- kdenetwork/kopete/protocols/oscar/oscarsocket/oscar_fam04.cpp  #1.8:1.9
@@ -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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic