Version: 0.12.1 (using KDE 3.5.4, Gentoo) Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) OS: Linux (i686) release 2.6.17-gentoo-r4-richWORK-HIGHMEM This always happens when chatting with a friend thru AIM and sending a link in a message: The newline is stripped, and the whole message is interpreted as link. Therefore it gets unusable. See the attached picture.
Created attachment 17337 [details] sent and received message this should describe the matter clearly
I have found something. At "normal" newlinkes coming from contacts, it looks like this: --- hi --- If you cannot see it (I can't in here, but in Kopete): it's 0x00. I would assume it is some bug which has to do with UTF-8 maybe?
SVN commit 609808 by rjarosz: Fix bug 132247: Line breaks in AIM not sent correctly. AIM only recognises <BR> tag and not <BR />. BUG: 132247 M +2 -0 aimaccount.cpp M +2 -0 aimcontact.cpp --- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimaccount.cpp #609807:609808 @@ -173,6 +173,8 @@ //30- (and any I missed) are size 7 s.replace ( QRegExp ( QString::fromLatin1("<font ptsize=\"[^\"]*\">")),QString::fromLatin1("<font size=\"7\">")); + s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") ); + kdDebug(14190) << k_funcinfo << "sending " << s << endl; --- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp #609807:609808 @@ -438,6 +438,8 @@ //30- (and any I missed) are size 7 s.replace ( QRegExp ( QString::fromLatin1("<font ptsize=\"[^\"]*\">")),QString::fromLatin1("<font size=\"7\">")); + s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") ); + kdDebug(14190) << k_funcinfo << "sending " << s << endl;