I applied the following patch on kopete (kde 3.5.10) and the problem with accented characters has gone.
It consists in converting messages on utf8 before send or display. I'm not expert, may be this is a "dirty" patch, but anyway it works for me.... upstream developers will know better than me if side effects are triggered...
I applied the following patch on kopete (kde 3.5.10) and the problem with accented characters has gone.
It consists in converting messages on utf8 before send or display. I'm not expert, may be this is a "dirty" patch, but anyway it works for me.... upstream developers will know better than me if side effects are triggered...
Regards.
Andrea.
--- kdenetwork/ kopete/ protocols/ meanwhile/ meanwhilesessio n.cpp 2009-01-19 12:17:30.000000000 +0100 kopete/ protocols/ meanwhile/ meanwhilesessio n.cpp 2009-01-19 12:18:01.000000000 +0100
mwConversatio n_open( conv);
+++ kdenetwork/
@@ -351,7 +351,7 @@
} else if (!mwConversatio n_send( conv, mwImSend_PLAIN, plainBody( ).ascii( ))) { plainBody( ).utf8( ))) {
convdata- >chat-> appendMessage( message) ;
convdata- >chat-> messageSucceede d(); >queue- >begin( ); it != convdata- >queue- >end();
++it) {
mwConvers ation_send( conv, mwImSend_PLAIN, ().ascii( )); ().utf8( ));
convdata- >chat-> appendMessage( *it);
convdata- >chat-> messageSucceede d();
Kopete: :Message message( convdata- >contact, account->myself(), :Message: :Inbound) ; :fromUtf8( (char *)msg), Kopete: :Message: :Inbound) ;
convdata- >chat-> appendMessage( message) ;
- message.
+ message.
}
@@ -808,7 +808,7 @@
for (it = convdata-
- (*it).plainBody
+ (*it).plainBody
}
@@ -857,7 +857,7 @@
case mwImSend_PLAIN:
{
- QString((char *)msg), Kopete:
+ QString:
}
break;