Summary: | Meanwhile & Accents and other spanish used characters | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Martin Salgueiro <martin.salgueiro> |
Component: | Meanwhile plugin | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | aiacovitti, bekesa, kde, orgito |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Salgueiro
2006-07-27 02:50:46 UTC
Meanwhile package & version: meanwhile-1.0.2 Here 100% reproducible with Kopete 0.12.7 and of course with not only Spanish characters. I have the same problem here (kopete 0.12.7 meanwhile 1.0.2), can someone point me on what part of code to look to help solve this bug ? Thanks, Andrea *** This bug has been confirmed by popular vote. *** 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/meanwhilesession.cpp 2009-01-19 12:17:30.000000000 +0100 +++ kdenetwork/kopete/protocols/meanwhile/meanwhilesession.cpp 2009-01-19 12:18:01.000000000 +0100 @@ -351,7 +351,7 @@ mwConversation_open(conv); } else if (!mwConversation_send(conv, mwImSend_PLAIN, - message.plainBody().ascii())) { + message.plainBody().utf8())) { convdata->chat->appendMessage(message); convdata->chat->messageSucceeded(); } @@ -808,7 +808,7 @@ for (it = convdata->queue->begin(); it != convdata->queue->end(); ++it) { mwConversation_send(conv, mwImSend_PLAIN, - (*it).plainBody().ascii()); + (*it).plainBody().utf8()); convdata->chat->appendMessage(*it); convdata->chat->messageSucceeded(); } @@ -857,7 +857,7 @@ case mwImSend_PLAIN: { Kopete::Message message(convdata->contact, account->myself(), - QString((char *)msg), Kopete::Message::Inbound); + QString::fromUtf8((char *)msg), Kopete::Message::Inbound); convdata->chat->appendMessage(message); } break; *** Bug 146705 has been marked as a duplicate of this bug. *** Did someone fix this problem? I am using kopete 0.70.90 (KDE 4.3.1) with libmeanwhile1 1.0.2-3 and the problem does not seem to exist. The peer was using "sametime 8.1" client. I don't seem to have this problem any more. Please close the bug if it was really fixed. I have a similiar bug with german umlauts. I can receive messages containing umlauts (like ä, ö, ü...), but sent messages with one if these characters are not received by the Sametime client (not even a blank line). I think it might be a charset problem. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. Dear user, unfortunately Kopete is no longer maintained. Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat. |